public static void Register()
        {
            //Call the SetEFConfiguration method and pass the EF Migration Configuration instance
            //(EFConfiguration is a class which inherits from the DbMigrationsConfiguration class and available in EFData/Models project).
            EFMigrationsManagerSettings.SetEFConfiguration(new EFConfiguration());

            RegisterGlobalFilters(GlobalFilters.Filters);
        }
Exemplo n.º 2
0
 private DbMigrator CreateDBMigrator()
 {
     return(EFMigrationsManagerSettings.CreateDBMigrator());
 }