public RioAccessSQLIntegrationTestHelper(bool dropAndRecreateDatabase = true) { ResetContext(); if (dropAndRecreateDatabase) { DropAndRecreateDatabase(); } EntityParser = new Solutionhead.EntityParser.EntityParser(Context); ForeignKeyConstrainer = new EntityObjectGraphForeignKeyConstrainer(EntityParser.Entities); ObjectInstantiator = new ObjectInstantiator(); }
public RVCIntegrationTestHelper(bool dropAndRecreateDatabase = true) { ResetContext(); if (dropAndRecreateDatabase) { DropAndRecreateContext(); } EntityParser = new Solutionhead.EntityParser.EntityParser(Context); ForeignKeyConstrainer = new EntityObjectGraphForeignKeyConstrainer(EntityParser.Entities); OmmitEnumerable = true; ResetObjectInstantiator(); }