Browse Source

Update Dispose

pull/14/head
sunkaixuna 3 years ago
parent
commit
f682eaa00f
  1. 2
      Src/Asp.Net/SqlSugar/SqlSugarClient.cs

2
Src/Asp.Net/SqlSugar/SqlSugarClient.cs

@ -839,9 +839,7 @@ namespace SqlSugar
public void Dispose()
{
AllClientEach(it => it.Ado.RollbackTran());
this.Context.Dispose();
AllClientEach(it => it.Dispose());
}
#endregion

Loading…
Cancel
Save