Esempio n. 1
0
 public BlogPostService(IRepository <BlogPostEntity> repository, LikeRateFavService likeService)
     : base(repository, likeService)
 {
     //注册BlogPost的私有属性
     //EntityRepository.RegisterMap<BlogPostEntity>(new List<string>() { "readTimes", "likedTimes", "reprintedTimes", "rating" });
 }
Esempio n. 2
0
 public CommentService(IRepository <CommentEntity> repository, LikeRateFavService likeService)
     : base(repository, likeService)
 {
 }
Esempio n. 3
0
 public BlogBaseService(IRepository <T> repository, LikeRateFavService likeService)
     : base(repository)
 {
     LrfService = likeService;
 }