Fix Sqlsugar 从实体特性中读取主键自增列信息
This commit is contained in:
parent
03d1345262
commit
cc23f8b00b
|
|
@ -119,6 +119,7 @@ public static class Program
|
||||||
DbType = SqlSugar.DbType.Sqlite,
|
DbType = SqlSugar.DbType.Sqlite,
|
||||||
ConnectionString = "DataSource=LFlow-dev.db",
|
ConnectionString = "DataSource=LFlow-dev.db",
|
||||||
IsAutoCloseConnection = true,
|
IsAutoCloseConnection = true,
|
||||||
|
InitKeyType = InitKeyType.Attribute //从实体特性中读取主键自增列信息
|
||||||
},
|
},
|
||||||
db =>
|
db =>
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue