mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 17:48:11 +08:00
Update Dispose
This commit is contained in:
@@ -839,9 +839,7 @@ namespace SqlSugar
|
||||
public void Dispose()
|
||||
{
|
||||
AllClientEach(it => it.Ado.RollbackTran());
|
||||
this.Context.Dispose();
|
||||
AllClientEach(it => it.Dispose());
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
Reference in New Issue
Block a user