Browse Source

Update db.dispose

pull/8/head
sunkaixuna 3 years ago
parent
commit
17ec6c40e7
  1. 2
      Src/Asp.Net/SqlSugar/Abstract/AdoProvider/AdoProvider.cs

2
Src/Asp.Net/SqlSugar/Abstract/AdoProvider/AdoProvider.cs

@ -101,7 +101,7 @@ namespace SqlSugar
{
if (this.Transaction != null)
{
this.Transaction.Commit();
this.Transaction.Rollback();
this.Transaction = null;
}
if (this.Connection != null && this.Connection.State != ConnectionState.Open)

Loading…
Cancel
Save