mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 12:28:15 +08:00
完善 CodeFirst
This commit is contained in:
@ -8,6 +8,11 @@ namespace FreeSql {
|
||||
/// </summary>
|
||||
bool IsAutoSyncStructure { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 转小写同步结构
|
||||
/// </summary>
|
||||
bool IsSyncStructureToLower { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 将实体类型与数据库对比,返回DDL语句
|
||||
/// </summary>
|
||||
@ -38,6 +43,6 @@ namespace FreeSql {
|
||||
/// </summary>
|
||||
/// <param name="type"></param>
|
||||
/// <returns></returns>
|
||||
(int type, string dbtype, string dbtypeFull, bool? isnullable)? GetDbInfo(Type type);
|
||||
(int type, string dbtype, string dbtypeFull, bool? isnullable, object defaultValue)? GetDbInfo(Type type);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user