Esempio n. 1
0
 public static void Initialize()
 {
     //Database.Delete("VeloEventsManager");
     Database.SetInitializer(new MigrateDatabaseToLatestVersion <VeloEventsManagerDbContext, Configuration>());
     VeloEventsManagerDbContext.Create().Database.Initialize(true);
 }