Ejemplo n.º 1
0
        public IOrderDomain CreateAddModOrderDomainObj()
        {
            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();
            ITraModOrderBLLFactory                         traModOrderBllFactory       = new TraModOrderBLLFactory();
            ITraModOrderBLL <TraModOrderModel>             traModOrderBll              = traModOrderBllFactory.CreateBllObj();
            ITraModOrderDetailBLLFactory                   traModOrderDetailBllFactory = new TraModOrderDetailBLLFactory();
            ITraModOrderDetailBLL <TraModOrderDetailModel> traModOrderDetailBll        =
                traModOrderDetailBllFactory.CreateBllObj();
            ITraInterFaceOrderServerBLLFactory traInterFaceOrderServerBllFactory            = new TraInterFaceOrderServerBLLFactory();
            ITraInterFaceOrderServerBLL <TraInterFaceOrderModel> traInterFaceOrderServerBll =
                traInterFaceOrderServerBllFactory.CreateBllObj();

            ITraOrderLogBLLFactory             traOrderLogBllFactory = new TraOrderLogBLLFactory();
            ITraOrderLogBLL <TraOrderLogModel> traOrderLogBll        = traOrderLogBllFactory.CreateBllObj();

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

            ICorporationBLLFactory             corporationBllFactory = new CorporationBLLFactory();
            ICorporationBLL <CorporationModel> corporationBll        = corporationBllFactory.CreateBllObj();

            return(new OrderDomain(orderBll, orderStatusBll, orderDetailBll, passengerBll, traModOrderBll,
                                   traModOrderDetailBll, traInterFaceOrderServerBll, traOrderLogBll, corporationBll, customerBll));
        }
Ejemplo n.º 2
0
        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));
        }
Ejemplo n.º 3
0
        public ICustomerDomain CreateDomainObj()
        {
            ICustomerBLLFactory factory          = new CustomerBLLFactory();
            ICustomerBLL <CustomerInfoModel> bll = factory.CreateBllObj();

            return(new CustomerDomain(bll));
        }
Ejemplo n.º 4
0
        public ICustomerDomain CreateQueryTravelViewDomainObj()
        {
            ICustomerBLLFactory customerBllFactory = new CustomerBLLFactory();
            ICustomerBLL <CustomerInfoModel>         customerBll = customerBllFactory.CreateBllObj();
            ICorpDepartmentBLLFactory                corpDepartmentBllFactory = new CorpDepartmentBLLFactory();
            ICorpDepartmentBLL <CorpDepartmentModel> corpDepartmentBll        = corpDepartmentBllFactory.CreateBllObj();
            ICustomerUnionBLLFactory customerUnionBllFactory            = new CustomerBLLFactory();
            ICustomerUnionBLL <CustomerUnionInfoModel> customerUnionBll = customerUnionBllFactory.CreateBllObj();
            ICorporationBLLFactory             corporationBllFactory    = new CorporationBLLFactory();
            ICorporationBLL <CorporationModel> corporationBll           = corporationBllFactory.CreateBllObj();

            return(new CustomerDomain(customerBll, corpDepartmentBll, customerUnionBll, corporationBll));
        }
Ejemplo n.º 5
0
        public ICustomerDomain CreatePassengerInfoDomainObj()
        {
            ICustomerBLLFactory factory = new CustomerBLLFactory();
            ICustomerBLL <CustomerInfoModel>     bll = factory.CreateBllObj();
            IContactInfoBLLFactory               contactInfoBllFactory        = new ContactInfoBLLFactory();
            IContactInfoBLL <ContactInfoModel>   contactInfoBll               = contactInfoBllFactory.CreateBllObj();
            IContactIdentificationInfoBLLFactory identificationInfoBllFactory =
                new ContactIdentificationInfoBLLFactory();
            IContactIdentificationInfoBLL <IdentificationModel> identificationInfoBll = identificationInfoBllFactory.CreateBllObj();
            ICorporationBLLFactory             corporationBllFactory = new CorporationBLLFactory();
            ICorporationBLL <CorporationModel> corporationBll        = corporationBllFactory.CreateBllObj();

            return(new CustomerDomain(bll, contactInfoBll, identificationInfoBll, corporationBll));
        }
Ejemplo n.º 6
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));
        }