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);
        }
Esempio n. 2
0
 private DbMigrator CreateDBMigrator()
 {
     return(EFMigrationsManagerSettings.CreateDBMigrator());
 }