Esempio n. 1
0
 private OrderService()
 {
     _daoManager = ServiceConfig.GetInstance().DaoManager;
     _orderDao = _daoManager.GetDao(typeof(IOrderDao)) as IOrderDao;
     _printTaskDao = _daoManager.GetDao(typeof(IPrintTaskDao)) as IPrintTaskDao;
     _dailyStatementDao = _daoManager.GetDao(typeof(IDailyStatementDao)) as IDailyStatementDao;
     _sysConfigDao = _daoManager.GetDao(typeof(ISystemConfigDao)) as ISystemConfigDao;
 }
Esempio n. 2
0
 private OrderService()
 {
     _daoManager        = ServiceConfig.GetInstance().DaoManager;
     _orderDao          = _daoManager.GetDao(typeof(IOrderDao)) as IOrderDao;
     _printTaskDao      = _daoManager.GetDao(typeof(IPrintTaskDao)) as IPrintTaskDao;
     _dailyStatementDao = _daoManager.GetDao(typeof(IDailyStatementDao)) as IDailyStatementDao;
     _sysConfigDao      = _daoManager.GetDao(typeof(ISystemConfigDao)) as ISystemConfigDao;
 }
 private ReminderOrderService()
 {
     _daoManager = ServiceConfig.GetInstance().DaoManager;
     _orderDao = _daoManager.GetDao(typeof(IOrderDao)) as IOrderDao;
     _orderDetailsDao = _daoManager.GetDao(typeof(IOrderDetailsDao)) as IOrderDetailsDao;
     _reasonDao = _daoManager.GetDao(typeof(IReasonDao)) as IReasonDao;
     _sysConfigDao = _daoManager.GetDao(typeof(ISystemConfigDao)) as ISystemConfigDao;
     _printTaskDao = _daoManager.GetDao(typeof(IPrintTaskDao)) as IPrintTaskDao;
 }
Esempio n. 4
0
 private ReminderOrderService()
 {
     _daoManager      = ServiceConfig.GetInstance().DaoManager;
     _orderDao        = _daoManager.GetDao(typeof(IOrderDao)) as IOrderDao;
     _orderDetailsDao = _daoManager.GetDao(typeof(IOrderDetailsDao)) as IOrderDetailsDao;
     _reasonDao       = _daoManager.GetDao(typeof(IReasonDao)) as IReasonDao;
     _sysConfigDao    = _daoManager.GetDao(typeof(ISystemConfigDao)) as ISystemConfigDao;
     _printTaskDao    = _daoManager.GetDao(typeof(IPrintTaskDao)) as IPrintTaskDao;
 }
Esempio n. 5
0
 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;
 }
Esempio n. 6
0
 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;
 }
Esempio n. 7
0
 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 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;
 }