private ArticleService() { /* * _daoManager = ServiceConfig.GetInstance().DaoManager; * _articleDao = _daoManager.GetDao(typeof(IArticleDao)) as IArticleDao; */ _articleDao = new ArticleSqlMapDao(); }
public ArticleBusiness(IBaseDataManager <Article> baseDataManager, IArticleDao articleDao) : base(baseDataManager) { _baseDataManager = baseDataManager; _articleDao = articleDao; }
public index() { this.articleDao = new ArticleDao(); }
public ItemsCountHandler() { this.articleDao = new ArticleDao(); logger.Info("Constructor method done."); }
public ArticleService(IArticleDao articleDao) { _articleDao = articleDao; }
public ArticleDeleteHandler() { this.articleDao = new ArticleDao(); logger.Info("Constructor method done."); }
/// <summary> /// Default constructor. /// </summary> public ArticleModule(ICommonDao commonDao, IArticleDao articleDao) { this._commonDao = commonDao; this._articleDao = articleDao; this._currentArticleId = -1; this._currentCategoryId = -1; this._currentAction = ArticleModuleAction.List; }
public newspublisher() : base() { this.userId = base.UserId; this.articleDao = new ArticleDao(); logger.Info("Construct method done."); }