public UsingUnionContext() : base(CodeFirstFixture.GetEFConnectionString <UsingUnionContext>()) { }
public VehicleDbContext2() : base(CodeFirstFixture.GetEFConnectionString <VehicleDbContext2>()) { Database.SetInitializer <VehicleDbContext2>(new VehicleDBInitializer2()); }
public ShortDbContext() : base(CodeFirstFixture.GetEFConnectionString <ShortDbContext>()) { }
public AutoIncrementBugContext() : base(CodeFirstFixture.GetEFConnectionString <AutoIncrementBugContext>()) { Database.SetInitializer <AutoIncrementBugContext>(new AutoIncrementBugInitialize <AutoIncrementBugContext>()); Database.SetInitializer <AutoIncrementBugContext>(new DropCreateDatabaseAlways <AutoIncrementBugContext>()); }
public VehicleDbContext3() : base(CodeFirstFixture.GetEFConnectionString <VehicleDbContext3>()) { }
public ProductsDbContext() : base(CodeFirstFixture.GetEFConnectionString <ProductsDbContext>()) { }
public SakilaDb() : base(CodeFirstFixture.GetEFConnectionString <SakilaDb>("sakila")) { }
public PromotionsDB() : base(CodeFirstFixture.GetEFConnectionString <PromotionsDB>()) { Database.SetInitializer <PromotionsDB>(new PromotionsDBInitializer()); }
public MovieCodedBasedConfigDBContext() : base(CodeFirstFixture.GetEFConnectionString <MovieCodedBasedConfigDBContext>()) { Database.SetInitializer <MovieCodedBasedConfigDBContext>(new MovieCBCDBInitialize <MovieCodedBasedConfigDBContext>()); Database.SetInitializer <MovieCodedBasedConfigDBContext>(new MigrateDatabaseToLatestVersion <MovieCodedBasedConfigDBContext, Configuration <MovieCodedBasedConfigDBContext> >()); }
public BlogContext() : base(CodeFirstFixture.GetEFConnectionString <BlogContext>()) { }
public EntityAndComplexTypeContext() : base(CodeFirstFixture.GetEFConnectionString <EntityAndComplexTypeContext>()) { Database.SetInitializer <EntityAndComplexTypeContext>(new MovieCBCDBInitialize <EntityAndComplexTypeContext>()); Database.SetInitializer <EntityAndComplexTypeContext>(new MigrateDatabaseToLatestVersion <EntityAndComplexTypeContext, Configuration <EntityAndComplexTypeContext> >()); }
public JourneyContext() : base(CodeFirstFixture.GetEFConnectionString <JourneyContext>()) { Database.SetInitializer <JourneyContext>(new JourneyInitialize <JourneyContext>()); Database.SetInitializer <JourneyContext>(new MigrateDatabaseToLatestVersion <JourneyContext, JourneyConfiguration>()); }
public EnumTestSupportContext() : base(CodeFirstFixture.GetEFConnectionString <EnumTestSupportContext>()) { Database.SetInitializer <EnumTestSupportContext>(new EnumTestSupportInitialize <EnumTestSupportContext>()); Database.SetInitializer <EnumTestSupportContext>(new MigrateDatabaseToLatestVersion <EnumTestSupportContext, EnumCtxConfiguration>()); }
public DinosauriaDBContext() : base(CodeFirstFixture.GetEFConnectionString <DinosauriaDBContext>()) { Database.SetInitializer <DinosauriaDBContext>(new DinosauriaDBInitializer()); }
public ShipContext() : base(CodeFirstFixture.GetEFConnectionString <ShipContext>()) { Database.SetInitializer(new DropCreateDatabaseAlways <ShipContext>()); }
public SiteDbContext() : base(CodeFirstFixture.GetEFConnectionString <SiteDbContext>()) { Database.SetInitializer <SiteDbContext>(new SiteDbInitializer()); Database.SetInitializer <SiteDbContext>(new MigrateDatabaseToLatestVersion <SiteDbContext, Configuration <SiteDbContext> >()); }
public MovieDBContext() : base(CodeFirstFixture.GetEFConnectionString <MovieDBContext>()) { //Database.SetInitializer<MovieDBContext>(new MigrateDatabaseToLatestVersion<MovieDBContext, DbMigrationsConfiguration<MovieDBContext>>()); Database.SetInitializer <MovieDBContext>(new DropCreateDatabaseAlways <MovieDBContext>()); }