コード例 #1
0
        public ICorporationDomain CreateDomainProjectNameObj()
        {
            IProjectNameBLLFactory             factory        = new ProjectNameBLLFactory();
            IProjectNameBLL <ProjectNameModel> projectNameBll = factory.CreateBllObj();

            return(new CorporationDomain(projectNameBll));
        }
コード例 #2
0
        public ICorporationDomain CreateDomainProjectNameAndCostCenterObj()
        {
            IProjectNameBLLFactory             projectNameBllFactory  = new ProjectNameBLLFactory();
            IProjectNameBLL <ProjectNameModel> projectNameBll         = projectNameBllFactory.CreateBllObj();
            ICostCenterBLLFactory            consCostCenterBllFactory = new CostCenterBLLFactory();
            ICostCenterBLL <CostCenterModel> costCenterBll            = consCostCenterBllFactory.CreateBllObj();

            return(new CorporationDomain(projectNameBll, costCenterBll));
        }
コード例 #3
0
ファイル: OrderDomainFactory.cs プロジェクト: chzhxiang/hotel
        public IOrderDomain CreateRetOrderListDomainObj()
        {
            ITraOrderListBLLFactory orderListBllFactory                          = new TraOrderBLLFactory();
            ITraOrderListBLL <TraOrderListDataModel> orderListBll                = orderListBllFactory.CreateBllObj();
            ITraOrderStatusBLLFactory orderStatusBllFactory                      = new TraOrderStatusBLLFactory();
            ITraOrderStatusBLL <TraOrderStatusModel> orderStatusBll              = orderStatusBllFactory.CreateBllObj();
            ITraOrderDetailBLLFactory orderDetailBllFactory                      = new TraOrderDetailBLLFactory();
            ITraOrderDetailBLL <TraOrderDetailModel> orderDetailBll              = orderDetailBllFactory.CreateBllObj();
            ITraPassengerBLLFactory passengerBllFactory                          = new TraPassengerBLLFactory();
            ITraPassengerBLL <TraPassengerModel> passengerBll                    = passengerBllFactory.CreateBllObj();
            IProjectNameBLLFactory             projectNameBllFactory             = new ProjectNameBLLFactory();
            IProjectNameBLL <ProjectNameModel> projectNameBll                    = projectNameBllFactory.CreateBllObj();
            ITraInterFaceOrderServerBLLFactory traInterFaceOrderServerBllFactory =
                new TraInterFaceOrderServerBLLFactory();
            ITraInterFaceOrderServerBLL <TraInterFaceOrderModel> traInterFaceOrderServerBll =
                traInterFaceOrderServerBllFactory.CreateBllObj();

            return(new OrderDomain(orderListBll, orderStatusBll, orderDetailBll, passengerBll, projectNameBll,
                                   traInterFaceOrderServerBll));
        }
コード例 #4
0
        public ICorporationDomain CreateComfireOrderViewObj()
        {
            IProjectNameBLLFactory             projectNameBllFactory  = new ProjectNameBLLFactory();
            IProjectNameBLL <ProjectNameModel> projectNameBll         = projectNameBllFactory.CreateBllObj();
            ICostCenterBLLFactory            consCostCenterBllFactory = new CostCenterBLLFactory();
            ICostCenterBLL <CostCenterModel> costCenterBll            = consCostCenterBllFactory.CreateBllObj();

            IServiceFeeConfigBLLFactory serviceFeeConfigBllFactory           = new ServiceFeeConfigBLLFactory();
            IServiceFeeConfigBLL <ServiceFeeConfigModel> serviceFeeConfigBll = serviceFeeConfigBllFactory.CreateBllObj();
            IServiceFeeConfigDetailsBLLFactory           serviceFeeConfigDetailsBllFactory        = new ServiceFeeConfigDetailsBLLFactory();
            IServiceFeeConfigDetailsBLL <ServiceFeeConfigDetailsModel> serviceFeeConfigDetailsBll =
                serviceFeeConfigDetailsBllFactory.CreateBllObj();
            ICorporationBLLFactory             corporationBllFactory = new CorporationBLLFactory();
            ICorporationBLL <CorporationModel> corporationBll        = corporationBllFactory.CreateBllObj();

            ICustomerBLLFactory customerBllFactory       = new CustomerBLLFactory();
            ICustomerBLL <CustomerInfoModel> customerBll = customerBllFactory.CreateBllObj();

            return(new CorporationDomain(serviceFeeConfigBll, serviceFeeConfigDetailsBll, corporationBll, projectNameBll,
                                         costCenterBll, customerBll));
        }
コード例 #5
0
ファイル: OrderDomainFactory.cs プロジェクト: chzhxiang/hotel
        public IOrderDomain CreateAppOrderInfoDomainObj()
        {
            ICustomerBLLFactory factory = new CustomerBLLFactory();
            ICustomerBLL <CustomerInfoModel> customerBll                               = factory.CreateBllObj();
            ITraOrderBLLFactory                      orderBllFactory                   = new TraOrderBLLFactory();
            ITraOrderBLL <TraOrderModel>             orderBll                          = orderBllFactory.CreateBllObj();
            ITraOrderStatusBLLFactory                orderStatusBllFactory             = new TraOrderStatusBLLFactory();
            ITraOrderStatusBLL <TraOrderStatusModel> orderStatusBll                    = orderStatusBllFactory.CreateBllObj();
            ITraOrderDetailBLLFactory                orderDetailBllFactory             = new TraOrderDetailBLLFactory();
            ITraOrderDetailBLL <TraOrderDetailModel> orderDetailBll                    = orderDetailBllFactory.CreateBllObj();
            ITraPassengerBLLFactory                  passengerBllFactory               = new TraPassengerBLLFactory();
            ITraPassengerBLL <TraPassengerModel>     passengerBll                      = passengerBllFactory.CreateBllObj();
            IProjectNameBLLFactory                   projectNameBllFactory             = new ProjectNameBLLFactory();
            IProjectNameBLL <ProjectNameModel>       projectNameBll                    = projectNameBllFactory.CreateBllObj();
            ITraInterFaceOrderServerBLLFactory       traInterFaceOrderServerBllFactory =
                new TraInterFaceOrderServerBLLFactory();
            ITraInterFaceOrderServerBLL <TraInterFaceOrderModel> traInterFaceOrderServerBll =
                traInterFaceOrderServerBllFactory.CreateBllObj();

            ITraModOrderBLLFactory             modOrderBllFactory = new TraModOrderBLLFactory();
            ITraModOrderBLL <TraModOrderModel> traModOrderBll     = modOrderBllFactory.CreateBllObj();

            ITraModOrderDetailBLLFactory traModOrderDetailBllFactory            = new TraModOrderDetailBLLFactory();
            ITraModOrderDetailBLL <TraModOrderDetailModel> traModOrderDetailBll =
                traModOrderDetailBllFactory.CreateBllObj();
            IGetCorpAduitOrderServiceBll _getCorpAduitOrderServiceBll = new GetCorpAduitOrderServiceBllFactory().CreateObj();

            return(new OrderDomain(orderBll, orderStatusBll, orderDetailBll, passengerBll, customerBll, projectNameBll,
                                   traInterFaceOrderServerBll, traModOrderBll, traModOrderDetailBll, _getCorpAduitOrderServiceBll));
        }