public ConstructionRepository(ISession session)
        {
            this.session = session;
            this.repoJoint = new JointRepository(session);
            this.repoJointTestResult = new JointTestResultRepository(session);
            this.repoJointWeldResult = new JointWeldResultRepository(session);
            this.repoJointOperation = new JointOperationRepository(session);
            this.repoInspector = new InspectorRepository(session);
            this.repoWelder = new WelderRepository(session);

            this.repoPipe = new PipeRepository(session);
            this.repoSpool = new SpoolRepository(session);
            this.repoComponent = new ComponentRepository(session);
            this.fileRepo = new FileRepository(session);
        }
示例#2
0
        public ConstructionRepository(ISession session)
        {
            this.session             = session;
            this.repoJoint           = new JointRepository(session);
            this.repoJointTestResult = new JointTestResultRepository(session);
            this.repoJointWeldResult = new JointWeldResultRepository(session);
            this.repoJointOperation  = new JointOperationRepository(session);
            this.repoInspector       = new InspectorRepository(session);
            this.repoWelder          = new WelderRepository(session);

            this.repoPipe      = new PipeRepository(session);
            this.repoSpool     = new SpoolRepository(session);
            this.repoComponent = new ComponentRepository(session);
            this.fileRepo      = new FileRepository(session);
        }