mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Update Dispose
This commit is contained in:
parent
8bc9b88425
commit
c0fb994699
@ -838,8 +838,10 @@ namespace SqlSugar
|
||||
#region IDispose
|
||||
public void Dispose()
|
||||
{
|
||||
this.Context.Dispose();
|
||||
AllClientEach(it => it.Ado.RollbackTran());
|
||||
this.Context.Dispose();
|
||||
AllClientEach(it => it.Dispose());
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
Loading…
Reference in New Issue
Block a user