Esempio n. 1
0
 public SalesRepository(DataSource ds)
 {
     this.ds                 = ds;
     salesItemRepository     = ServiceLocator.GetObject <ISalesItemRepository>();
     recordCounterRepository = ServiceLocator.GetObject <IRecordCounterRepository>();
     productQtyRepository    = ServiceLocator.GetObject <IProductQtyRepository>();
 }
 public StockCorrectionRepository(DataSource ds)
 {
     this.ds = ds;
     stockCorrectionItemRepository = ServiceLocator.GetObject <IStockCorrectionItemRepository>();
     recordCounterRepository       = ServiceLocator.GetObject <IRecordCounterRepository>();
     productQtyRepository          = ServiceLocator.GetObject <IProductQtyRepository>();
 }
Esempio n. 3
0
 public ProfitStatementRepository(DataSource ds)
 {
     this.ds               = ds;
     inventoryRepository   = ServiceLocator.GetObject <IInventoryRepository>();
     expenseItemRepository = ServiceLocator.GetObject <IExpenseItemRepository>();
     productQtyRepository  = ServiceLocator.GetObject <IProductQtyRepository>();
 }
Esempio n. 4
0
 public PurchaseRepository(DataSource ds)
 {
     this.ds = ds;
     purchaseItemRepository  = ServiceLocator.GetObject <IPurchaseItemRepository>();
     recordCounterRepository = ServiceLocator.GetObject <IRecordCounterRepository>();
     productQtyRepository    = ServiceLocator.GetObject <IProductQtyRepository>();
 }
Esempio n. 5
0
        public ProductListUI(PayableBalanceUI frmPayableBalance)
        {
            productQtyRepository = ServiceLocator.GetObject <IProductQtyRepository>();

            this.frmPayableBalance = frmPayableBalance;
            formActive             = "PayableBalanceUI";

            InitializeComponent();
        }
Esempio n. 6
0
        public ProductListUI(StockCorrectionUI frmStockCorrection)
        {
            productQtyRepository = ServiceLocator.GetObject <IProductQtyRepository>();

            this.frmStockCorrection = frmStockCorrection;
            formActive = "StockCorrectionUI";

            InitializeComponent();
        }
Esempio n. 7
0
        public ProductListUI(PurchaseUI frmPurchase)
        {
            productQtyRepository = ServiceLocator.GetObject <IProductQtyRepository>();

            this.frmPurchase = frmPurchase;
            formActive       = "PurchaseUI";

            InitializeComponent();
        }
Esempio n. 8
0
        public ProductListUI(SalesUI frmSales)
        {
            productQtyRepository = ServiceLocator.GetObject <IProductQtyRepository>();

            this.frmSales = frmSales;
            formActive    = "SalesUI";

            InitializeComponent();
        }
Esempio n. 9
0
 public InventoryRepository(DataSource ds)
 {
     this.ds                       = ds;
     productRepository             = ServiceLocator.GetObject <IProductRepository>();
     productQtyRepository          = ServiceLocator.GetObject <IProductQtyRepository>();
     purchaseItemRepository        = ServiceLocator.GetObject <IPurchaseItemRepository>();
     salesItemRepository           = ServiceLocator.GetObject <ISalesItemRepository>();
     stockCorrectionItemRepository = ServiceLocator.GetObject <IStockCorrectionItemRepository>();
     payablePaymentItemRepository  = ServiceLocator.GetObject <IPayablePaymentItemRepository>();
 }
Esempio n. 10
0
        public ProductUI(MainUI frmMain)
        {
            InitializeComponent();
            this.frmMain = frmMain;

            productRepository    = ServiceLocator.GetObject <IProductRepository>();
            productQtyRepository = ServiceLocator.GetObject <IProductQtyRepository>();
            supplierRepository   = ServiceLocator.GetObject <ISupplierRepository>();
            categoryRepository   = ServiceLocator.GetObject <ICategoryRepository>();
            userAccessRepository = ServiceLocator.GetObject <IUserAccessRepository>();
        }
Esempio n. 11
0
        public SalesUI(MainUI frmMain)
        {
            this.frmMain = frmMain;

            salesRepository      = ServiceLocator.GetObject <ISalesRepository>();
            salesItemRepository  = ServiceLocator.GetObject <ISalesItemRepository>();
            customerRepository   = ServiceLocator.GetObject <ICustomerRepository>();
            salesmanRepository   = ServiceLocator.GetObject <ISalesmanRepository>();
            productQtyRepository = ServiceLocator.GetObject <IProductQtyRepository>();
            userAccessRepository = ServiceLocator.GetObject <IUserAccessRepository>();
            InitializeComponent();
        }
Esempio n. 12
0
        public ClosingPeriodUI(MainUI frmMain)
        {
            this.frmMain = frmMain;


            salesRepository          = ServiceLocator.GetObject <ISalesRepository>();
            purchaseRepository       = ServiceLocator.GetObject <IPurchaseRepository>();
            payableBalanceRepository = ServiceLocator.GetObject <IPayableBalanceRepository>();
            debtBalanceRepository    = ServiceLocator.GetObject <IDebtBalanceRepository>();
            recordCounterRepository  = ServiceLocator.GetObject <IRecordCounterRepository>();
            salesmanFeeRepository    = ServiceLocator.GetObject <ISalesmanFeeRepository>();
            productQtyRepository     = ServiceLocator.GetObject <IProductQtyRepository>();
            inventoryRepository      = ServiceLocator.GetObject <IInventoryRepository>();


            InitializeComponent();
        }
Esempio n. 13
0
 public ProductQtyUpdateUI(ProductUI frmProduct)
 {
     this.frmProduct = frmProduct;
     InitializeComponent();
     productQtyRepository = ServiceLocator.GetObject <IProductQtyRepository>();
 }
Esempio n. 14
0
 public ProductRepository(DataSource ds)
 {
     productQtyRepository = ServiceLocator.GetObject <IProductQtyRepository>();
     this.ds = ds;
 }