Fix Sqlsugar 从实体特性中读取主键自增列信息

This commit is contained in:
lihanbo 2024-10-29 15:45:47 +08:00
parent 03d1345262
commit cc23f8b00b
1 changed files with 1 additions and 0 deletions

View File

@ -119,6 +119,7 @@ public static class Program
DbType = SqlSugar.DbType.Sqlite,
ConnectionString = "DataSource=LFlow-dev.db",
IsAutoCloseConnection = true,
InitKeyType = InitKeyType.Attribute //从实体特性中读取主键自增列信息
},
db =>
{