@ -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)