mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-18 17:48:01 +08:00
修复Oracle脚本使用驼峰命名异常的问题
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
Reference in New Issue
Block a user