去除pgSql驼峰

This commit is contained in:
wintel
2025-02-23 08:28:24 +08:00
parent e244246028
commit 1db14b7973
8 changed files with 30 additions and 44 deletions

View File

@@ -184,11 +184,7 @@ namespace OpenAuth.WebApi
{
DbType = dbType.Value,
ConnectionString = connectionString,
IsAutoCloseConnection = true,
MoreSettings=new ConnMoreSettings() {
PgSqlIsAutoToLower = false,//增删查改支持驼峰表
PgSqlIsAutoToLowerCodeFirst = false// 建表建驼峰表。5.1.3.30
}
IsAutoCloseConnection = true
}, db => { db.Aop.OnLogExecuting = (sql, pars) => { logger.LogInformation(sql); }; });
return sqlSugar;
});