示例#1
0
        public void ApplyEfMigrations(IConfiguration configuration)
        {
            int timeout;

            if (!int.TryParse(configuration["Db:TimeoutInSeconds"], out timeout))
            {
                timeout = OneHour;
            }

            AppMigrations.Apply(configuration.GetConnectionString("Aumentum"), timeout);
        }
示例#2
0
	public void ApplyEfMigrations( IConfiguration configuration )
	{
		AppMigrations.Apply(configuration.GetConnectionString("Resource"));
	}
示例#3
0
 public void ApplyEfMigrations(IConfiguration configuration)
 {
     AppMigrations.Apply(
         configuration.AumentumConnectionString(),
         configuration.IdentityConnectionString());
 }