mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-05 03:17:41 +08:00
Synchronization code
This commit is contained in:
@@ -927,6 +927,7 @@ namespace SqlSugar
|
||||
var oldValue = this.Context.Ado.IsDisableMasterSlaveSeparation;
|
||||
this.Context.Ado.IsDisableMasterSlaveSeparation = true;
|
||||
var result = this.Context.Ado.SqlQuery<T>(sql, parameters);
|
||||
this.Context.Ado.IsDisableMasterSlaveSeparation = oldValue;
|
||||
return result;
|
||||
}
|
||||
public async Task<List<T>> MasterSqlQueryAasync<T>(string sql, object parameters = null)
|
||||
|
||||
@@ -4,9 +4,9 @@ using System.Text;
|
||||
|
||||
namespace SqlSugar
|
||||
{
|
||||
internal class SubQueryToListDefaultT
|
||||
internal class SubQueryToListDefaultT
|
||||
{
|
||||
public int id { get; set; }
|
||||
public object id { get; set; }
|
||||
public object sugarIndex { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user