示例#1
0
 public InformationWareHouse()
 {
     this._ingredientDAO    = (IngredientDAO) new IngredientDAOImpl();
     this._supplierDAO      = (SupplierDAO) new SupplierDAOImpl();
     this._receiptDAO       = (ReceiptDAO) new ReceiptDAOImpl();
     this._receiptDetailDAO = (ReceiptDetailDAO) new ReceiptDetailDAOImpl();
 }
示例#2
0
 public InformationAccountant()
 {
     this._orderDAO           = (OrderDAO) new OrderDAOImpl();
     this._orderItemDAO       = (OrderItemDAO) new OrderItemDAOImpl();
     this._receiptDAO         = (ReceiptDAO) new ReceiptDAOImpl();
     this._receiptDetailDAO   = (ReceiptDetailDAO) new ReceiptDetailDAOImpl();
     this._timeSheetDAO       = (TimeSheetDAO) new TimeSheetDAOImpl();
     this._timeSheetDetailDAO = (TimeSheetDetailDAO) new TimeSheetDetailDAOImpl();
     this._payrollDAO         = (PayrollDAO) new PayrollDAOImpl();
     this._accDAO             = (AccountDAO) new AccountDAOImpl();
     this._employeeDAO        = (EmployeeDAO) new EmployeeDAOImpl();
 }