Split table bug

This commit is contained in:
sunkaixuna
2021-11-19 16:25:30 +08:00
parent 22596374e6
commit 47269f5aca
2 changed files with 2 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ namespace SqlSugar
{ {
this.Context.Ado.BeginTran(); this.Context.Ado.BeginTran();
var result = await _ExecuteCommandAsync(); var result = await _ExecuteCommandAsync();
this.Context.Ado.BeginTran(); this.Context.Ado.CommitTran();
return result; return result;
} }
catch (Exception ex) catch (Exception ex)

View File

@@ -44,7 +44,7 @@ namespace SqlSugar
{ {
this.Context.Ado.BeginTran(); this.Context.Ado.BeginTran();
var result = await _ExecuteCommandAsync(); var result = await _ExecuteCommandAsync();
this.Context.Ado.BeginTran(); this.Context.Ado.CommitTran();
return result; return result;
} }
catch (Exception ex) catch (Exception ex)