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


            this.user     = new User();
            this.userType = new UserType();
        }
        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();
        }
Beispiel #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();
        }
Beispiel #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();
        }
Beispiel #6
0
 public ReportCombinationService(IIOBalanceRepository <ReportCombination> reportCombination)
 {
     this._reportCombination = reportCombination;
 }
Beispiel #7
0
 public BranchService(IIOBalanceRepository <Branch> branch)
 {
     this._branch = branch;
     this.branch  = new IOBalanceEntity.Branch();
 }
        public UnitService(IIOBalanceRepository <Unit> unit)
        {
            this._unit = unit;

            this.unit = new IOBalanceEntity.Unit();
        }
Beispiel #9
0
 public SupplierService(IIOBalanceRepository <Supplier> supplier)
 {
     _supplier     = supplier;
     this.supplier = new IOBalanceEntity.Supplier();
 }
Beispiel #10
0
 public AuthenticationService(IIOBalanceRepository <User> user)
 {
     this._user = user;
 }
Beispiel #11
0
 public CustomerService(IIOBalanceRepository <Customer> customer)
 {
     this._customer = customer;
     this.customer  = new ChainSawDBEntity.Customer();
 }
 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();
 }
Beispiel #14
0
 public ModelService(IIOBalanceRepository <Model> model)
 {
     this._model = model;
     this.model  = new IOBalanceEntity.Model();
 }
        public CategoryService(IIOBalanceRepository <Category> category)
        {
            this._category = category;

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