Esempio 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));
        }
Esempio n. 2
0
        public IOrderDomain CreateUpdateOrderDomainObj()
        {
            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();
            ITraOrderLogBLLFactory                   traOrderLogBllFactory       = new TraOrderLogBLLFactory();
            ITraOrderLogBLL <TraOrderLogModel>       traOrderLogBll              = traOrderLogBllFactory.CreateBllObj();
            ITraModOrderBLLFactory                   traModOrderBllFactory       = new TraModOrderBLLFactory();
            ITraModOrderBLL <TraModOrderModel>       traModOrderBll              = traModOrderBllFactory.CreateBllObj();
            IAddSendAppMessageServiceBll             addSendAppMessageServiceBll = CustomerFactory.CreateSendAppMessageObj();

            return(new OrderDomain(orderBll, orderStatusBll, orderDetailBll, passengerBll, traOrderLogBll,
                                   traModOrderBll, addSendAppMessageServiceBll));
        }
Esempio n. 3
0
        public IOrderDomain CreateAddRetOrderDomainObj()
        {
            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();
            ITraOrderLogBLLFactory                               traOrderLogBllFactory             = new TraOrderLogBLLFactory();
            ITraOrderLogBLL <TraOrderLogModel>                   traOrderLogBll                    = traOrderLogBllFactory.CreateBllObj();
            ITraInterFaceOrderServerBLLFactory                   traInterFaceOrderServerBllFactory = new TraInterFaceOrderServerBLLFactory();
            ITraInterFaceOrderServerBLL <TraInterFaceOrderModel> traInterFaceOrderServerBll        =
                traInterFaceOrderServerBllFactory.CreateBllObj();

            ITraModOrderDetailBLLFactory traModOrderDetailBllFactory            = new TraModOrderDetailBLLFactory();
            ITraModOrderDetailBLL <TraModOrderDetailModel> traModOrderDetailBll =
                traModOrderDetailBllFactory.CreateBllObj();

            return(new OrderDomain(orderBll, orderStatusBll, orderDetailBll, passengerBll, traModOrderBll,
                                   traOrderLogBll, traInterFaceOrderServerBll, traModOrderDetailBll));
        }