OpenSource » Database Migrator » Legacy Migrator
Clone URL:  

Migrator Migrator no longer closes connection until transformation provider has been disposed.

Changeset 1cbd2faebee5

Parent c404b2a6640b

by kiran.kafle

Changes to one file · Browse files at 1cbd2faebee5 Showing diff from parent c404b2a6640b Diff from another changeset...

 
280
281
282
283
284
285
286
287
 
288
289
290
 
552
553
554
555
556
 
557
558
559
560
561
562
 
 
563
564
565
 
280
281
282
 
 
 
 
 
283
284
285
286
 
548
549
550
 
 
551
552
 
 
 
 
 
553
554
555
556
557
@@ -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;   }