Example #1
0
 public DbUpMigration(
     ILogger logger,
     DbUpMigrationOptions options)
 {
     _logger  = logger;
     _options = options;
 }
Example #2
0
 public DbUpMigration(
     ILogger logger,
     DbUpMigrationOptions options)
 {
     _logger  = logger;
     _options = options;
     _init    = new Lazy <bool>(() =>
     {
         CreateOrUpdateDatabase();
         return(true);
     });
 }