mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-08 02:14:53 +08:00
Split table async bug
This commit is contained in:
@@ -45,7 +45,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)
|
||||||
@@ -91,7 +91,7 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
this.Context.Ado.BeginTran();
|
this.Context.Ado.BeginTran();
|
||||||
var result = await _ExecuteReturnSnowflakeIdListAsync();
|
var result = await _ExecuteReturnSnowflakeIdListAsync();
|
||||||
this.Context.Ado.BeginTran();
|
this.Context.Ado.CommitTran();
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|||||||
Reference in New Issue
Block a user