public void ApplyEfMigrations(IConfiguration configuration) { int timeout; if (!int.TryParse(configuration["Db:TimeoutInSeconds"], out timeout)) { timeout = OneHour; } AppMigrations.Apply(configuration.GetConnectionString("Aumentum"), timeout); }
public void ApplyEfMigrations( IConfiguration configuration ) { AppMigrations.Apply(configuration.GetConnectionString("Resource")); }
public void ApplyEfMigrations(IConfiguration configuration) { AppMigrations.Apply( configuration.AumentumConnectionString(), configuration.IdentityConnectionString()); }