public CustomerPriceService(IIOBalanceV2Repository <CustomerPrice> customerPrice,
                             IInventoryService inventoryService,
                             ICustomerService customerService)
 {
     this._customerPrice    = customerPrice;
     this._inventoryService = inventoryService;
     this._customerService  = customerService;
     this.customerPrice     = new IOBalanceDBV2Entity.CustomerPrice();
 }
Beispiel #2
0
        public InventoryService(IIOBalanceV2Repository <Product> product,
                                IIOBalanceV2Repository <BatchInventoryLog> batchInventoryLog)
        {
            this._product           = product;
            this._batchInventoryLog = batchInventoryLog;

            this.batchInventoryLog = new IOBalanceDBV2Entity.BatchInventoryLog();
            this.product           = new IOBalanceDBV2Entity.Product();
        }
Beispiel #3
0
        public OrderService(
            IIOBalanceV2Repository <PurchaseOrder> purchaseOrder,
            IIOBalanceV2Repository <PurchaseOrderDetail> purchaseOrderDetail,
            IIOBalanceV2Repository <SalesOrder> salesOrder,
            IIOBalanceV2Repository <SalesOrderDetail> salesOrderDetail,
            IInventoryService inventoryService,
            ISupplierService supplierService,
            ICustomerService customerService)
        {
            this._purchaseOrder       = purchaseOrder;
            this._purchaseOrderDetail = purchaseOrderDetail;
            this._inventoryService    = inventoryService;
            this._supplierService     = supplierService;
            this._customerService     = customerService;
            this._salesOrder          = salesOrder;
            this._salesOrderDetail    = salesOrderDetail;

            this.purchaseOrder       = new IOBalanceDBV2Entity.PurchaseOrder();
            this.purchaseOrderDetail = new IOBalanceDBV2Entity.PurchaseOrderDetail();
            this.salesOrder          = new IOBalanceDBV2Entity.SalesOrder();
            this.salesOrderDetail    = new IOBalanceDBV2Entity.SalesOrderDetail();
        }
 public CustomerService(IIOBalanceV2Repository <Customer> customer)
 {
     this._customer = customer;
     this.customer  = new IOBalanceDBV2Entity.Customer();
 }
Beispiel #5
0
 public CategoryService(IIOBalanceV2Repository <Category> category)
 {
     this._category = category;
     this.category  = new IOBalanceDBV2Entity.Category();
 }
 public QuantityUnitService(IIOBalanceV2Repository <QuantityUnit> quantityUnit)
 {
     this._quantityUnit = quantityUnit;
     this.quantityUnit  = new IOBalanceDBV2Entity.QuantityUnit();
 }
Beispiel #7
0
 public AccountService(IIOBalanceV2Repository <webpages_UsersInRoles> webpages_UsersInRoles)
 {
     this._webpages_UsersInRoles = webpages_UsersInRoles;
     this.webpages_UsersInRoles  = new IOBalanceDBV2Entity.webpages_UsersInRoles();
 }
 public SupplierService(IIOBalanceV2Repository <Supplier> supplier)
 {
     this._supplier = supplier;
     this.supplier  = new IOBalanceDBV2Entity.Supplier();
 }