Exemple #1
0
 public GameLossService(IGameDao gameDao, ILossDao lossDao, IRegionDao regionDao, ILossGameDao lossGameDao, IMarketingYearDao marketingYearDao)
 {
     _gameDao          = gameDao;
     _lossDao          = lossDao;
     _regionDao        = regionDao;
     _lossGameDao      = lossGameDao;
     _marketingYearDao = marketingYearDao;
 }
Exemple #2
0
 public CatchService(ICatchDao catchDao, IGameDao gameDao, IUserDao userDao, IHuntsmanDao huntsmanDao, IRegionDao regionDao, IMarketingYearDao marketingYearDao)
 {
     _catchDao         = catchDao;
     _gameDao          = gameDao;
     _userDao          = userDao;
     _huntsmanDao      = huntsmanDao;
     _regionDao        = regionDao;
     _marketingYearDao = marketingYearDao;
 }
Exemple #3
0
 public HuntService(IHuntDao huntDao, IGameDao gameDao, IUserDao userDao, IHuntsmanDao huntsmanDao, IRegionDao regionDao, IHuntedGameDao huntedGameDao, IGameClassDao gameClassDao, IMarketingYearDao marketingYearDao)
 {
     _huntDao          = huntDao;
     _gameDao          = gameDao;
     _userDao          = userDao;
     _huntsmanDao      = huntsmanDao;
     _regionDao        = regionDao;
     _huntedGameDao    = huntedGameDao;
     _gameClassDao     = gameClassDao;
     _marketingYearDao = marketingYearDao;
 }
Exemple #4
0
        protected void Page_Load(object sender, EventArgs e)
        {
            oficinaDao = daoFactory.GetOficinaDao();
            plazaDao   = daoFactory.GetPlazaDao();
            zonaDao    = daoFactory.GetZonaDao();
            regionDao  = daoFactory.GetRegionDao();

            if (!IsPostBack)
            {
                CajaRegistro.Items.Clear();
                log.Info(String.Format("El usuario: [{0}] ha cargado la pagina de Carga Masiva de Oficina", UsuarioActual.Nombre));
            }
        }
Exemple #5
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;
 }
Exemple #7
0
 public RegionMgr(IRegionDao entityDao,
                  ICriteriaMgr criteriaMgr,
                  IWorkCenterMgr workCenterMgr,
                  IAddressMgr addressMgr,
                  IPermissionMgr permissionMgr,
                  IPermissionCategoryMgr permissionCategoryMgr,
                  IUserPermissionMgr userPermissionMgr,
                  IUserMgr userMgr,
                  IPartyDao partyDao,
                  ISqlHelperDao sqlHelperDao)
     : base(entityDao)
 {
     this.criteriaMgr           = criteriaMgr;
     this.workCenterMgr         = workCenterMgr;
     this.addressMgr            = addressMgr;
     this.permissionMgr         = permissionMgr;
     this.permissionCategoryMgr = permissionCategoryMgr;
     this.userPermissionMgr     = userPermissionMgr;
     this.userMgr      = userMgr;
     this.partyDao     = partyDao;
     this.sqlHelperDao = sqlHelperDao;
 }
Exemple #8
0
 public RegionMgr(IRegionDao entityDao,
     ICriteriaMgr criteriaMgr,
     IWorkCenterMgr workCenterMgr,
     IAddressMgr addressMgr,
     IPermissionMgr permissionMgr,
     IPermissionCategoryMgr permissionCategoryMgr,
     IUserPermissionMgr userPermissionMgr,
     IUserMgr userMgr,
     IPartyDao partyDao,
     ISqlHelperDao sqlHelperDao)
     : base(entityDao)
 {
     this.criteriaMgr = criteriaMgr;
     this.workCenterMgr = workCenterMgr;
     this.addressMgr = addressMgr;
     this.permissionMgr = permissionMgr;
     this.permissionCategoryMgr = permissionCategoryMgr;
     this.userPermissionMgr = userPermissionMgr;
     this.userMgr = userMgr;
     this.partyDao = partyDao;
     this.sqlHelperDao = sqlHelperDao;
 }
 private RegionService()
 {
     _daoManager = ServiceConfig.GetInstance().DaoManager;
     _regionDao = _daoManager.GetDao(typeof(IRegionDao)) as IRegionDao;
     _deskDao = _daoManager.GetDao(typeof(IDeskDao)) as IDeskDao;
 }
Exemple #10
0
 private RegionService()
 {
     _daoManager = ServiceConfig.GetInstance().DaoManager;
     _regionDao  = _daoManager.GetDao(typeof(IRegionDao)) as IRegionDao;
     _deskDao    = _daoManager.GetDao(typeof(IDeskDao)) as IDeskDao;
 }
Exemple #11
0
 public void SetUp()
 {
     _regionDao = new RegionDao();
 }
 public RegionBaseMgr(IRegionDao entityDao)
 {
     this.entityDao = entityDao;
 }
Exemple #13
0
 public RegionBaseMgr(IRegionDao entityDao)
 {
     this.entityDao = entityDao;
 }