mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-24 13:03:43 +08:00
Synchronization code
This commit is contained in:
@@ -935,6 +935,7 @@ namespace SqlSugar
|
||||
var oldValue = this.Context.Ado.IsDisableMasterSlaveSeparation;
|
||||
this.Context.Ado.IsDisableMasterSlaveSeparation = true;
|
||||
var result = await this.Context.Ado.SqlQueryAsync<T>(sql, parameters);
|
||||
this.Context.Ado.IsDisableMasterSlaveSeparation = oldValue;
|
||||
return result;
|
||||
}
|
||||
public virtual List<T> SqlQuery<T>(string sql, List<SugarParameter> parameters)
|
||||
|
Reference in New Issue
Block a user