Browse Source

Split table async bug

pull/10/head
sunkaixuna 3 years ago
parent
commit
61f2cf432e
  1. 4
      Src/Asp.Net/SqlSugar/Abstract/InsertableProvider/SplitInsertable.cs

4
Src/Asp.Net/SqlSugar/Abstract/InsertableProvider/SplitInsertable.cs

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

Loading…
Cancel
Save