This commit is contained in:
sunkaixuan 2023-10-01 20:57:52 +08:00
parent 0db5698993
commit 75ef29f73b

View File

@ -68,7 +68,11 @@ namespace TDengineTest
db.CodeFirst.InitTables<CodeFirst05>();
db.Insertable(new CodeFirst05() { Boolean = true, Ts = DateTime.Now }).ExecuteCommand();
var list = db.Queryable<CodeFirst05>().ToList();
db.CurrentConnectionConfig.MoreSettings = new ConnMoreSettings()
{
PgSqlIsAutoToLower = true,
PgSqlIsAutoToLowerCodeFirst = true,
};
}
}
}