Ejemplo n.º 1
0
 public DiscountService(IIOBalanceRepository <Discount> discount,
                        IUserService userService)
 {
     this._discount    = discount;
     this._userService = userService;
     this.discount     = new Discount();
 }
Ejemplo n.º 2
0
        public UserService(IIOBalanceRepository <User> user,
                           IIOBalanceRepository <UserType> userType)
        {
            this._user     = user;
            this._userType = userType;


            this.user     = new User();
            this.userType = new UserType();
        }
Ejemplo n.º 3
0
        public SalesService(IIOBalanceRepository <Product> product,
                            IOrderService orderService)
        {
            this._product      = product;
            this._orderService = orderService;

            this.product          = new Product();
            this.salesOrder       = new SalesOrder();
            this.salesOrderDetail = new SalesOrderDetail();
        }
Ejemplo n.º 4
0
        public InventoryService(IIOBalanceRepository <Product> product,
                                IIOBalanceRepository <BatchSummary> batchSummary,
                                IIOBalanceRepository <BatchProductLog> batchProductLog)
        {
            this._product         = product;
            this._batchSummary    = batchSummary;
            this._batchProductLog = batchProductLog;

            this.product             = new Product();
            this.purchaseOrder       = new PurchaseOrder();
            this.purchaseOrderDetail = new PurchaseOrderDetail();
            this.batchSummary        = new BatchSummary();
            this.batchProductLog     = new BatchProductLog();
        }
Ejemplo n.º 5
0
        public OrderService(IIOBalanceRepository <PurchaseOrder> purchaseOrder,
                            IIOBalanceRepository <PurchaseOrderDetail> purchaseOrderDetail,
                            IIOBalanceRepository <SalesOrder> salesOrder,
                            IIOBalanceRepository <SalesOrderDetail> salesOrderDetail,
                            IIOBalanceRepository <ReportCombination> reportCombination,
                            IInventoryService inventoryService)
        {
            this._purchaseOrder       = purchaseOrder;
            this._purchaseOrderDetail = purchaseOrderDetail;
            this._salesOrder          = salesOrder;
            this._salesOrderDetail    = salesOrderDetail;
            this._reportCombination   = reportCombination;
            this._inventoryService    = inventoryService;

            this.purchaseOrder       = new IOBalanceEntity.PurchaseOrder();
            this.purchaseOrderDetail = new IOBalanceEntity.PurchaseOrderDetail();
            this.salesOrder          = new IOBalanceEntity.SalesOrder();
            this.salesOrderDetail    = new IOBalanceEntity.SalesOrderDetail();
            this.reportCombination   = new IOBalanceEntity.ReportCombination();
        }
Ejemplo n.º 6
0
 public ReportCombinationService(IIOBalanceRepository <ReportCombination> reportCombination)
 {
     this._reportCombination = reportCombination;
 }
Ejemplo n.º 7
0
 public BranchService(IIOBalanceRepository <Branch> branch)
 {
     this._branch = branch;
     this.branch  = new IOBalanceEntity.Branch();
 }
Ejemplo n.º 8
0
        public UnitService(IIOBalanceRepository <Unit> unit)
        {
            this._unit = unit;

            this.unit = new IOBalanceEntity.Unit();
        }
Ejemplo n.º 9
0
 public SupplierService(IIOBalanceRepository <Supplier> supplier)
 {
     _supplier     = supplier;
     this.supplier = new IOBalanceEntity.Supplier();
 }
Ejemplo n.º 10
0
 public AuthenticationService(IIOBalanceRepository <User> user)
 {
     this._user = user;
 }
Ejemplo n.º 11
0
 public CustomerService(IIOBalanceRepository <Customer> customer)
 {
     this._customer = customer;
     this.customer  = new ChainSawDBEntity.Customer();
 }
Ejemplo n.º 12
0
 public SupplierService(IIOBalanceRepository <Supplier> supplier)
 {
     this._supplier = supplier;
     this.supplier  = new ChainSawDBEntity.Supplier();
 }
 public CustomerPriceService(IIOBalanceRepository <CustomerPrice> customerprice)
 {
     this._customerprice = customerprice;
     this.customerprice  = new IOBalanceEntity.CustomerPrice();
 }
Ejemplo n.º 14
0
 public ModelService(IIOBalanceRepository <Model> model)
 {
     this._model = model;
     this.model  = new IOBalanceEntity.Model();
 }
Ejemplo n.º 15
0
        public CategoryService(IIOBalanceRepository <Category> category)
        {
            this._category = category;

            this.category = new IOBalanceEntity.Category();
        }