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