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