private SalesOrderService() { _daoManager = ServiceConfig.GetInstance().DaoManager; _orderDao = _daoManager.GetDao(typeof(IOrderDao)) as IOrderDao; _orderDetailsDao = _daoManager.GetDao(typeof(IOrderDetailsDao)) as IOrderDetailsDao; _orderDiscountDao = _daoManager.GetDao(typeof(IOrderDiscountDao)) as IOrderDiscountDao; _orderPayoffDao = _daoManager.GetDao(typeof(IOrderPayoffDao)) as IOrderPayoffDao; _dailyStatementDao = _daoManager.GetDao(typeof(IDailyStatementDao)) as IDailyStatementDao; _sysConfigDao = _daoManager.GetDao(typeof(ISystemConfigDao)) as ISystemConfigDao; _sysDictionary = _daoManager.GetDao(typeof(ISystemDictionaryDao)) as ISystemDictionaryDao; _deskDao = _daoManager.GetDao(typeof(IDeskDao)) as IDeskDao; _printTaskDao = _daoManager.GetDao(typeof(IPrintTaskDao)) as IPrintTaskDao; _goodsDao = _daoManager.GetDao(typeof(IGoodsDao)) as IGoodsDao; }
private SysBasicDataService() { _daoManager = ServiceConfig.GetInstance().DaoManager; _noticeDao = _daoManager.GetDao(typeof(INoticeDao)) as INoticeDao; _regionDao = _daoManager.GetDao(typeof(IRegionDao)) as IRegionDao; _deskDao = _daoManager.GetDao(typeof(IDeskDao)) as IDeskDao; _discountDao = _daoManager.GetDao(typeof(IDiscountDao)) as IDiscountDao; _payoffWayDao = _daoManager.GetDao(typeof(IPayoffWayDao)) as IPayoffWayDao; _reasonDao = _daoManager.GetDao(typeof(IReasonDao)) as IReasonDao; _goodsGroupDao = _daoManager.GetDao(typeof(IGoodsGroupDao)) as IGoodsGroupDao; _goodsDao = _daoManager.GetDao(typeof(IGoodsDao)) as IGoodsDao; _detailsGroupDao = _daoManager.GetDao(typeof(IDetailsGroupDao)) as IDetailsGroupDao; _detailsDao = _daoManager.GetDao(typeof(IDetailsDao)) as IDetailsDao; _goodsSetMealDao = _daoManager.GetDao(typeof(IGoodsSetMealDao)) as IGoodsSetMealDao; _buttonStyleDao = _daoManager.GetDao(typeof(IButtonStyleDao)) as IButtonStyleDao; _sysConfigDao = _daoManager.GetDao(typeof(ISystemConfigDao)) as ISystemConfigDao; _promotionDao = _daoManager.GetDao(typeof(IPromotionDao)) as IPromotionDao; }
private RegionService() { _daoManager = ServiceConfig.GetInstance().DaoManager; _regionDao = _daoManager.GetDao(typeof(IRegionDao)) as IRegionDao; _deskDao = _daoManager.GetDao(typeof(IDeskDao)) as IDeskDao; }