コード例 #1
0
 public static void Initialize()
 {
     Database.SetInitializer(new MigrateDatabaseToLatestVersion <MoviesDbContext, Configuration>());
     MoviesDbContext.Create().Database.Initialize(true);
 }