修复Oracle脚本使用驼峰命名异常的问题

This commit is contained in:
yubaolee
2024-03-08 16:57:05 +08:00
parent 8a1491eec7
commit 37da0bcb00
6 changed files with 32 additions and 7 deletions

View File

@@ -112,6 +112,11 @@ namespace OpenAuth.Mvc
DbType = dbType.Value,
ConnectionString = connectionString,
IsAutoCloseConnection = true,
MoreSettings=new ConnMoreSettings() {
PgSqlIsAutoToLower = false,//增删查改支持驼峰表
PgSqlIsAutoToLowerCodeFirst = false, // 建表建驼峰表。5.1.3.30
IsAutoToUpper=false //禁用自动转成大写表
}
}, db => { db.Aop.OnLogExecuting = (sql, pars) => { logger.LogInformation(sql); }; });
return sqlSugar;
});