Пример #1
0
 public AddressBookModule()
 {
     unitOfWork  = new UnitOfWork();
     AddressBook = new FluentAddressBook(unitOfWork);
     Employee    = new FluentEmployee(unitOfWork);
     Supervisor  = new FluentSupervisor(unitOfWork);
     Carrier     = new FluentCarrier(unitOfWork);
     Buyer       = new FluentBuyer(unitOfWork);
     Supplier    = new FluentSupplier(unitOfWork);
     Phone       = new FluentPhone(unitOfWork);
     Email       = new FluentEmail(unitOfWork);
 }
Пример #2
0
 public PurchaseOrderModule()
 {
     unitOfWork          = new UnitOfWork();
     PurchaseOrder       = new FluentPurchaseOrder(unitOfWork);
     PurchaseOrderDetail = new FluentPurchaseOrderDetail(unitOfWork);
     ChartOfAccount      = new FluentChartOfAccount(unitOfWork);
     Supplier            = new FluentSupplier(unitOfWork);
     Contract            = new FluentContract(unitOfWork);
     AddressBook         = new FluentAddressBook(unitOfWork);
     POQuote             = new FluentPOQuote(unitOfWork);
     Buyer             = new FluentBuyer(unitOfWork);
     TaxRatesByCode    = new FluentTaxRatesByCode(unitOfWork);
     AccountReceivable = new FluentAccountReceivable(unitOfWork);
     Udc = new FluentUdc(unitOfWork);
 }