Changeset 1cbd2faebee5…
Parent c404b2a6640b…
by
Changes to one file · Browse files at 1cbd2faebee5 Showing diff from parent c404b2a6640b Diff from another changeset...
@@ -280,11 +280,7 @@ {
this.Rollback();
throw ex;
- }
- finally
- {
- _connection.Close();
- }
+ }
}
_transaction = null;
}
@@ -552,14 +548,10 @@ {
if (_transaction != null && _connection != null && _connection.State == ConnectionState.Open)
{
- try
- {
+
_transaction.Rollback();
- }
- finally
- {
- _connection.Close();
- }
+
+
}
_transaction = null;
}
|
Loading...