mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-02-27 16:50:33 +08:00
-
This commit is contained in:
@@ -936,7 +936,7 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
public virtual void ExecuteBefore(string sql, SugarParameter[] parameters)
|
public virtual void ExecuteBefore(string sql, SugarParameter[] parameters)
|
||||||
{
|
{
|
||||||
if (this.Context.IsAsyncMethod == false && this.Context.CurrentConnectionConfig.Debugger != null && this.Context.CurrentConnectionConfig.Debugger.EnableThreadSecurityValidation == true)
|
if (this.Context.CurrentConnectionConfig.Debugger != null && this.Context.CurrentConnectionConfig.Debugger.EnableThreadSecurityValidation == true)
|
||||||
{
|
{
|
||||||
|
|
||||||
var contextId = this.Context.ContextID.ToString();
|
var contextId = this.Context.ContextID.ToString();
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ namespace SqlSugar
|
|||||||
public Dictionary<string, object> TempItems { get { if (_TempItems == null) { _TempItems = new Dictionary<string, object>(); } return _TempItems; } set=>_TempItems=value; }
|
public Dictionary<string, object> TempItems { get { if (_TempItems == null) { _TempItems = new Dictionary<string, object>(); } return _TempItems; } set=>_TempItems=value; }
|
||||||
public bool IsSystemTablesConfig { get { return this.CurrentConnectionConfig.InitKeyType == InitKeyType.SystemTable; } }
|
public bool IsSystemTablesConfig { get { return this.CurrentConnectionConfig.InitKeyType == InitKeyType.SystemTable; } }
|
||||||
public Guid ContextID { get; set; }
|
public Guid ContextID { get; set; }
|
||||||
internal bool IsAsyncMethod { get; set; }
|
|
||||||
public MappingTableList MappingTables { get; set; }
|
public MappingTableList MappingTables { get; set; }
|
||||||
public MappingColumnList MappingColumns { get; set; }
|
public MappingColumnList MappingColumns { get; set; }
|
||||||
public IgnoreColumnList IgnoreColumns { get; set; }
|
public IgnoreColumnList IgnoreColumns { get; set; }
|
||||||
|
|||||||
Reference in New Issue
Block a user