意:本篇文章仅适用于mysql和postgre这两种数据库 1.查询数据库中所有表名及对应表的详细信息 select * from INFORMATION_SCHEMA.tables 2.根据指定名称查询表名(也可模糊查询,可查询表的详细信息) select * from INFORMATION_SCHEMA.tables where table_name = 'eguid'; select * from INFORMATION_SCHEMA.tables where table_name l…
namespace YourNamespace { /// <summary> /// Uses the Name value of the ColumnAttribute specified, otherwise maps as usual. /// </summary> /// <typeparam name="T">The type of the object that this mapper applies to.</typeparam…