mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 04:23:47 +08:00
Add: db.Ado.SqlExecuteType
This commit is contained in:
@@ -47,6 +47,7 @@ namespace SqlSugar
|
|||||||
/// Add, delete and modify: the number of affected items;
|
/// Add, delete and modify: the number of affected items;
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int SqlExecuteCount { get; protected set; } = 0;
|
public int SqlExecuteCount { get; protected set; } = 0;
|
||||||
|
public SugarActionType SqlExecuteType { get=> this.Context.SugarActionType;}
|
||||||
public StackTraceInfo SqlStackTrace { get { return UtilMethods.GetStackTrace(); } }
|
public StackTraceInfo SqlStackTrace { get { return UtilMethods.GetStackTrace(); } }
|
||||||
public bool IsDisableMasterSlaveSeparation { get; set; }
|
public bool IsDisableMasterSlaveSeparation { get; set; }
|
||||||
internal DateTime BeforeTime = DateTime.MinValue;
|
internal DateTime BeforeTime = DateTime.MinValue;
|
||||||
|
@@ -37,6 +37,7 @@ namespace SqlSugar
|
|||||||
TimeSpan SqlExecutionTime { get; }
|
TimeSpan SqlExecutionTime { get; }
|
||||||
TimeSpan ConnectionExecutionTime { get; }
|
TimeSpan ConnectionExecutionTime { get; }
|
||||||
int SqlExecuteCount { get; }
|
int SqlExecuteCount { get; }
|
||||||
|
SugarActionType SqlExecuteType { get;}
|
||||||
IDbBind DbBind { get; }
|
IDbBind DbBind { get; }
|
||||||
void SetCommandToAdapter(IDataAdapter adapter, DbCommand command);
|
void SetCommandToAdapter(IDataAdapter adapter, DbCommand command);
|
||||||
IDataAdapter GetAdapter();
|
IDataAdapter GetAdapter();
|
||||||
|
Reference in New Issue
Block a user