Пример #1
0
 public InventoryModule()
 {
     unitOfWork        = new UnitOfWork();
     Inventory         = new FluentInventory(unitOfWork);
     PackingSlip       = new FluentPackingSlip(unitOfWork);
     PackingSlipDetail = new FluentPackingSlipDetail(unitOfWork);
     ItemMaster        = new FluentItemMaster(unitOfWork);
     ChartOfAccount    = new FluentChartOfAccount(unitOfWork);
 }
Пример #2
0
 public AccountPayableModule()
 {
     unitOfWork             = new UnitOfWork();
     AccountPayable         = new FluentAccountPayable(unitOfWork);
     Supplier               = new FluentSupplier(unitOfWork);
     PackingSlip            = new FluentPackingSlip(unitOfWork);
     PackingSlipDetail      = new FluentPackingSlipDetail(unitOfWork);
     PurchaseOrder          = new FluentPurchaseOrder(unitOfWork);
     PurchaseOrderDetail    = new FluentPurchaseOrderDetail(unitOfWork);
     SupplierLedger         = new FluentSupplierLedger(unitOfWork);
     SupplierInvoice        = new FluentSupplierInvoice(unitOfWork);
     SupplierInvoiceDetail  = new FluentSupplierInvoiceDetail(unitOfWork);
     GeneralLedger          = new FluentGeneralLedger(unitOfWork);
     applicationViewFactory = new ApplicationViewFactory();
     AddressBook            = new FluentAddressBook(unitOfWork);
     Customer               = new FluentCustomer(unitOfWork);
     ChartOfAccount         = new FluentChartOfAccount(unitOfWork);
     Inventory              = new FluentInventory(unitOfWork);
     Invoice = new FluentInvoice(unitOfWork);
 }