Пример #1
0
 public FakeTestDbContext()
 {
     ColumnNames              = new FakeDbSet <ColumnName>("C36");
     Stafford_Boos            = new FakeDbSet <Stafford_Boo>("Id");
     Stafford_ComputedColumns = new FakeDbSet <Stafford_ComputedColumn>("Id");
     Stafford_Foos            = new FakeDbSet <Stafford_Foo>("Id");
     Synonyms_Children        = new FakeDbSet <Synonyms_Child>("ChildId");
     Synonyms_Parents         = new FakeDbSet <Synonyms_Parent>("ParentId");
 }
        }                                                                // UserInfoAttributes

        public FakeTestDbContext()
        {
            _database = null;

            ColumnNames              = new FakeDbSet <ColumnName>("C36");
            Stafford_Boos            = new FakeDbSet <Stafford_Boo>("Id");
            Stafford_ComputedColumns = new FakeDbSet <Stafford_ComputedColumn>("Id");
            Stafford_Foos            = new FakeDbSet <Stafford_Foo>("Id");
            Synonyms_Children        = new FakeDbSet <Synonyms_Child>("ChildId");
            Synonyms_Parents         = new FakeDbSet <Synonyms_Parent>("ParentId");
            UserInfoes         = new FakeDbSet <UserInfo>("Id");
            UserInfoAttributes = new FakeDbSet <UserInfoAttribute>("Id");
        }
Пример #3
0
 public FakeTestDbContext()
 {
     Stafford_Boos = new FakeDbSet <Stafford_Boo>("Id");
     Stafford_Foos = new FakeDbSet <Stafford_Foo>("Id");
 }