准备添加分表分库
This commit is contained in:
@@ -33,6 +33,7 @@ namespace Yi.Framework.WebCore.MiddlewareExtend
|
|||||||
}
|
}
|
||||||
SqlSugarScope sqlSugar = new SqlSugarScope(new ConnectionConfig()
|
SqlSugarScope sqlSugar = new SqlSugarScope(new ConnectionConfig()
|
||||||
{
|
{
|
||||||
|
//准备添加分表分库
|
||||||
DbType = dbType,
|
DbType = dbType,
|
||||||
ConnectionString = Appsettings.app("DbConn", "WriteUrl"),
|
ConnectionString = Appsettings.app("DbConn", "WriteUrl"),
|
||||||
IsAutoCloseConnection = true,
|
IsAutoCloseConnection = true,
|
||||||
|
|||||||
Reference in New Issue
Block a user