コード例 #1
0
        public RioAccessSQLIntegrationTestHelper(bool dropAndRecreateDatabase = true)
        {
            ResetContext();
            if (dropAndRecreateDatabase)
            {
                DropAndRecreateDatabase();
            }

            EntityParser          = new Solutionhead.EntityParser.EntityParser(Context);
            ForeignKeyConstrainer = new EntityObjectGraphForeignKeyConstrainer(EntityParser.Entities);
            ObjectInstantiator    = new ObjectInstantiator();
        }
コード例 #2
0
        public RVCIntegrationTestHelper(bool dropAndRecreateDatabase = true)
        {
            ResetContext();
            if (dropAndRecreateDatabase)
            {
                DropAndRecreateContext();
            }

            EntityParser          = new Solutionhead.EntityParser.EntityParser(Context);
            ForeignKeyConstrainer = new EntityObjectGraphForeignKeyConstrainer(EntityParser.Entities);
            OmmitEnumerable       = true;
            ResetObjectInstantiator();
        }