Browse Source

-

pull/12/MERGE
sunkaixuan 6 years ago
parent
commit
e250abf4c2
  1. 1
      Src/Asp.Net/SqlSugar/Abstract/DeleteProvider/DeleteableProvider.cs
  2. 1
      Src/Asp.Net/SqlSugar/Abstract/UpdateProvider/UpdateableProvider.cs

1
Src/Asp.Net/SqlSugar/Abstract/DeleteProvider/DeleteableProvider.cs

@ -357,6 +357,7 @@ namespace SqlSugar
parameters = new List<SugarParameter>();
diffModel.AfterDate = null;
diffModel.Time = this.Context.Ado.SqlExecutionTime;
if (this.Context.Ado.DiffLogEvent != null)
this.Context.Ado.DiffLogEvent(diffModel);
}
}

1
Src/Asp.Net/SqlSugar/Abstract/UpdateProvider/UpdateableProvider.cs

@ -562,6 +562,7 @@ namespace SqlSugar
parameters = new List<SugarParameter>();
diffModel.AfterDate = GetDiffTable(sql, parameters);
diffModel.Time = this.Context.Ado.SqlExecutionTime;
if (this.Context.Ado.DiffLogEvent != null)
this.Context.Ado.DiffLogEvent(diffModel);
}
}

Loading…
Cancel
Save