public static void Initialize() { Database.SetInitializer(new MigrateDatabaseToLatestVersion <YoutubePlaylistsDbContext, Configuration>()); YoutubePlaylistsDbContext.Create().Database.Initialize(true); }
public Search() { this.dbContext = new YoutubePlaylistsDbContext(); }
public PlaylistDetails() { this.dbContext = new YoutubePlaylistsDbContext(); }
public CategoryDetails() { this.dbContext = new YoutubePlaylistsDbContext(); }
public Home() { this.dbContext = new YoutubePlaylistsDbContext(); }
public EditCategories() { this.dbContext = new YoutubePlaylistsDbContext(); }