public OrderServices(IInventoryAAARepository <dbentities.PurchaseOrder> purchaseOrderServices,
                             IInventoryAAARepository <dbentities.PurchaseOrderDetail> purchaseOrderDetailServices,
                             IInventoryAAARepository <dbentities.SalesOrder> salesOrderServices,
                             IInventoryAAARepository <dbentities.SalesOrderDetail> salesOrderDetailServices,
                             IInventoryAAARepository <dbentities.CorrectionOrder> correctionOrderServices,
                             IInventoryAAARepository <dbentities.CorrectionOrderDetail> correctionOrderDetailServices,
                             IInventoryAAARepository <dbentities.SalesOrderStatusLog> salesOrderStatusLogServices,

                             IProductServices productServices,
                             IOrderTypeServices orderTypeServices,
                             ICustomerServices customerServices)
        {
            this._purchaseOrderServices       = purchaseOrderServices;
            this._purchaseOrderDetailServices = purchaseOrderDetailServices;

            this._correctionOrderServices       = correctionOrderServices;
            this._correctionOrderDetailServices = correctionOrderDetailServices;

            this._salesOrderServices          = salesOrderServices;
            this._salesOrderDetailServices    = salesOrderDetailServices;
            this._salesOrderStatusLogServices = salesOrderStatusLogServices;

            this._productServices   = productServices;
            this._orderTypeServices = orderTypeServices;
            this._customerServices  = customerServices;


            this.purchaseOrder         = new dbentities.PurchaseOrder();
            this.purchaseOrderDetail   = new dbentities.PurchaseOrderDetail();
            this.salesOrder            = new dbentities.SalesOrder();
            this.salesOrderDetail      = new dbentities.SalesOrderDetail();
            this.correctionOrder       = new dbentities.CorrectionOrder();
            this.correctionOrderDetail = new dbentities.CorrectionOrderDetail();
            this.salesOrderStatusLog   = new dbentities.SalesOrderStatusLog();
        }
        public CategoryServices(
            IInventoryAAARepository <dbentities.Categories> categoryServices)
        {
            this._categoryServices = categoryServices;

            this.categories = new dbentities.Categories();
        }
        public CustomerServices(
            IInventoryAAARepository <dbentities.Customer> customerServices,
            IInventoryAAARepository <dbentities.CustomerStatus> customerStatusServices)
        {
            this._customerServices       = customerServices;
            this._customerStatusServices = customerStatusServices;

            this.customers      = new dbentities.Customer();
            this.customerStatus = new dbentities.CustomerStatus();
        }
Beispiel #4
0
        public UserServices(IInventoryAAARepository <dbentities.UserDetail> userDetailServices,
                            IInventoryAAARepository <dbentities.UserRoleDetail> userRoleDetailServices,
                            IInventoryAAARepository <dbentities.UserInformationDetail> userInformationDetailServices,
                            IInventoryAAARepository <dbentities.UserMenuRoleDetail> userMenuRoleServices,
                            IInventoryAAARepository <dbentities.MenuDetail> menuServices)
        {
            this._userDetailServices            = userDetailServices;
            this._userRoleDetailServices        = userRoleDetailServices;
            this._userInformationDetailServices = userInformationDetailServices;
            this._userMenuRoleServices          = userMenuRoleServices;
            this._menuServices = menuServices;

            this.userDetails            = new dbentities.UserDetail();
            this.userRoleDetails        = new dbentities.UserRoleDetail();
            this.userInformationDetails = new dbentities.UserInformationDetail();
        }
Beispiel #5
0
        public ProductServices(
            IInventoryAAARepository <dbentities.Product> productServices,
            IInventoryAAARepository <dbentities.ProductLog> productLogServices,
            IInventoryAAARepository <dbentities.ProductPrice> productPriceServices,
            IInventoryAAARepository <dbentities.ProductPricesLog> productPricesLogServices)
        {
            this._productServices          = productServices;
            this._productLogServices       = productLogServices;
            this._productPriceServices     = productPriceServices;
            this._productPricesLogServices = productPricesLogServices;

            this.products         = new dbentities.Product();
            this.productLogs      = new dbentities.ProductLog();
            this.productPrice     = new dbentities.ProductPrice();
            this.productPricesLog = new dbentities.ProductPricesLog();
        }
        public OrderTypeServices(IInventoryAAARepository <dbentities.OrderType> orderTypes)
        {
            this._orderTypes = orderTypes;

            this.orderTypes = new dbentities.OrderType();
        }