예제 #1
0
        public FakeMyDbContext()
        {
            Accounts        = new FakeDbSet <Account>("ID");
            AccountOfRoles  = new FakeDbSet <AccountOfRoles>("ID");
            CodeTables      = new FakeDbSet <CodeTable>("ID");
            Departments     = new FakeDbSet <Departments>("ID");
            ErrorInfoes     = new FakeDbSet <ErrorInfo>("ID");
            Menus           = new FakeDbSet <Menus>("ID");
            Permissions     = new FakeDbSet <Permission>("ID");
            ProjectInfoes   = new FakeDbSet <ProjectInfo>("ID");
            Roles           = new FakeDbSet <Roles>("ID");
            VersionControls = new FakeDbSet <VersionControl>("Key");

            InitializePartial();
        }
예제 #2
0
        public FakeMyDbContext()
        {
            Accounts        = new FakeDbSet <Account>("ID");
            AccountOfRoles  = new FakeDbSet <AccountOfRoles>("ID");
            BuildingModels  = new FakeDbSet <BuildingModel>("ID");
            CodeTables      = new FakeDbSet <CodeTable>("ID");
            Departments     = new FakeDbSet <Departments>("ID");
            ErrorInfoes     = new FakeDbSet <ErrorInfo>("ID");
            FileManges      = new FakeDbSet <FileMange>("FileID");
            FileModulars    = new FakeDbSet <FileModular>("FileModularID");
            GanttLinks      = new FakeDbSet <GanttLink>("Id");
            GanttTasks      = new FakeDbSet <GanttTask>("Id");
            Menus           = new FakeDbSet <Menus>("ID");
            ModelInfoes     = new FakeDbSet <ModelInfo>("ID");
            Permissions     = new FakeDbSet <Permission>("ID");
            ProjectInfoes   = new FakeDbSet <ProjectInfo>("ID");
            Roles           = new FakeDbSet <Roles>("ID");
            Schedules       = new FakeDbSet <Schedule>("ID");
            sysdiagrams     = new FakeDbSet <sysdiagrams>("diagramid");
            VersionControls = new FakeDbSet <VersionControl>("Key");

            InitializePartial();
        }