public MigrationRepository(IMigrationVersionContext ctx)
 {
     if (ctx == null)
     {
         throw new ArgumentNullException(nameof(ctx));
     }
     _ctx = ctx;
 }
예제 #2
0
 public IMigrationRepository CreateMigrationRepository(IMigrationVersionContext ctx)
 {
     return(new MigrationRepository(ctx));
 }