Esempio n. 1
0
        public static void Initialize()
        {
            Database.SetInitializer(new MigrateDatabaseToLatestVersion <StudentSystemDbContext, Configuration>());

            StudentSystemDbContext.Create().Database.Initialize(true);
        }