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