mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 10:08:19 +08:00
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user