OpenSource » Database Migrator » Migrator2
Clone URL:  

Migrator (No commit message)

Changeset 62c445c1f06c

Parent 1bf898776239

by jasoncline

Changes to one file · Browse files at 62c445c1f06c Showing diff from parent 1bf898776239 Diff from another changeset...

 
118
119
120
121
 
122
123
124
125
 
126
127
128
 
118
119
120
 
121
122
123
124
125
126
127
128
129
@@ -118,11 +118,12 @@
  }     public Migrator(string provider, string connectionString, ArrayList migrations, Migration beginMigration, Migration endMigration, GuidAttribute assemblyAttribute, ILogger logger) - : this(CreateProvider(provider, connectionString), migrations, beginMigration, endMigration, assemblyAttribute, logger ?? new Log4NetLogger()) + : this(CreateProvider(provider, connectionString), migrations, beginMigration, endMigration, assemblyAttribute, logger)   { }     public Migrator(TransformationProvider provider, ArrayList migrations, Migration beginMigration, Migration endMigration, GuidAttribute assemblyAttribute, ILogger logger)   { + logger = logger ?? new Log4NetLogger();   _provider = provider;   _logger = logger;   _provider.Logger = _logger;