610262374@qq.com
2018-11-24 01:59:34 +08:00
parent 8ace90f9f2
commit 1b2ea363a9

View File

@@ -109,6 +109,8 @@ namespace SqlSugar
this.Connection = null;
if (this.IsMasterSlaveSeparation)
{
if (this.SlaveConnections != null)
{
foreach (var slaveConnection in this.SlaveConnections)
{
@@ -119,6 +121,7 @@ namespace SqlSugar
}
}
}
}
public virtual void CheckConnection()
{
if (this.Connection.State != ConnectionState.Open)