mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
-
This commit is contained in:
parent
0db5698993
commit
75ef29f73b
@ -68,7 +68,11 @@ namespace TDengineTest
|
|||||||
db.CodeFirst.InitTables<CodeFirst05>();
|
db.CodeFirst.InitTables<CodeFirst05>();
|
||||||
db.Insertable(new CodeFirst05() { Boolean = true, Ts = DateTime.Now }).ExecuteCommand();
|
db.Insertable(new CodeFirst05() { Boolean = true, Ts = DateTime.Now }).ExecuteCommand();
|
||||||
var list = db.Queryable<CodeFirst05>().ToList();
|
var list = db.Queryable<CodeFirst05>().ToList();
|
||||||
|
db.CurrentConnectionConfig.MoreSettings = new ConnMoreSettings()
|
||||||
|
{
|
||||||
|
PgSqlIsAutoToLower = true,
|
||||||
|
PgSqlIsAutoToLowerCodeFirst = true,
|
||||||
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user