コード例 #1
0
 public ArticleManager(IQueryableRepo <Entities.Concrete.Article> queryableRepoArticle, IArticleDal articleDal, ICategoryService categoryService, IMapper mapper)
 {
     _queryableRepoArticle = queryableRepoArticle;
     _categoryService      = categoryService;
     _articleDal           = articleDal;
     _mapper = mapper;
 }
コード例 #2
0
ファイル: DapperTest.cs プロジェクト: ontckr/se302_bibuddy
        public void SearchFilesToAllFields()
        {
            IArticleDal _article = InstanceFactory.GetInstance <DapperArticleDal>();
            //_article.Add(new article()
            //{
            //    author = "Kaya Oguz",
            //    title = "yaka",
            //    bibtexkey = "k.oguzcimci",
            //    journal = "deneme",
            //    number = 1,
            //    year = 1997,
            //    month = 1,
            //    entrytype = "article"
            //});
            var result = _article.GetAll("article");

            foreach (var item in result)
            {
                Console.WriteLine(item);
            }
        }
コード例 #3
0
 public ArticleManager(IArticleDal article)
 {
     _article = article;
 }
コード例 #4
0
 public ArticleManager(IArticleDal articleDal) : base(articleDal)
 {
 }
コード例 #5
0
 public ArticleManager(IArticleDal articleDal, ICategoryDal categoryDal, EntityQueryableRepository <Article, MyBlogContext> entityQueryableRepository)
 {
     _articleDal  = articleDal;
     _categoryDal = categoryDal;
     _entityQueryableRepository = entityQueryableRepository;
 }
コード例 #6
0
 public ArticleManager(IArticleDal articleDal, IArticleCategoryDal categoryArticleDal) : base(articleDal)
 {
     _articleDal         = articleDal;
     _categoryArticleDal = categoryArticleDal;
 }
コード例 #7
0
 public ArticleService(IArticleDal articleDal)
 {
     _articleDal = articleDal;
 }
コード例 #8
0
ファイル: ArticleBo.cs プロジェクト: tranquocdat2001/web_vm
 public ArticleBo(IArticleDal articleDal, ICategoryBo categoryBo)
 {
     _articleDal = articleDal;
     _categoryBo = categoryBo;
 }
コード例 #9
0
 public ArticleController(IServiceProvider svp, IArticleDal articleDal, IArticleService articleService)
 {
     _articleDal     = articleDal;
     _articleService = articleService;
     _svp            = svp;
 }
コード例 #10
0
 public ArticleController(IArticleDal articleDal, IMapper mapper)
 {
     _articleDal = articleDal;
     _mapper     = mapper;
 }
コード例 #11
0
 public ArticlesController(IArticleDal articleDal)
 {
     _articleDal = articleDal;
 }
コード例 #12
0
 public ArticleManager(IEntityRepository <Article> entityRepository, IEntityRepository <CategoryBlog> categoryBlogService, IArticleDal articleDal) : base(entityRepository)
 {
     _entityRepository    = entityRepository;
     _categoryBlogService = categoryBlogService;
     _articleDal          = articleDal;
 }
コード例 #13
0
 public ArticlesController(IArticleDal articleDal, IMapper mapper, IWebHostEnvironment environment)
 {
     _articleDal  = articleDal;
     _mapper      = mapper;
     _environment = environment;
 }
コード例 #14
0
 public ArticleView()
 {
     _iArticleService = InstanceFactory.GetInstance <DapperArticleDal>();
     InitializeComponent();
     DataContext = new article();
 }
コード例 #15
0
 public ArticlesController(IArticleDal articleDal, IArticleService articleService)
 {
     _articleDal     = articleDal;
     _articleService = articleService;
 }
コード例 #16
0
 public ArticleManager(IArticleDal articleDal)
 {
     _articleDal = articleDal;
 }
コード例 #17
0
ファイル: ArticleBo.cs プロジェクト: tranquocdat2001/web_vm
 public ArticleBo()
 {
     _articleDal = new ArticleDal();
     _categoryBo = new CategoryBo();
 }