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