saas分库,仓储+公共库+业务库+动态配置连接串框架搭建
This commit is contained in:
@@ -23,6 +23,7 @@ namespace Yi.Framework.WebCore.MiddlewareExtend
|
||||
|
||||
readCon.ForEach(s =>
|
||||
{
|
||||
//如果是动态saas分库,这里的连接串都不能写死,需要动态添加,这里只配置共享库的连接
|
||||
slavaConFig.Add(new SlaveConnectionConfig() { ConnectionString = s });
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user