Exemple #1
0
        public QuestionRepository(IMapper mapper, QaContext qaContext)
            : base(qaContext)
        {
            this.answers = qaContext.Set <Answer>();
            this.answers.CheckArgumentIsNull(nameof(QuestionRepository.answers));

            this.mapper = mapper;
            this.mapper.CheckArgumentIsNull(nameof(QuestionRepository.mapper));
        }
Exemple #2
0
 public AnswerVotersListRepository(QaContext qaContext)
     : base(qaContext)
 {
 }
Exemple #3
0
 public AnswerRepository(QaContext qaContext)
     : base(qaContext)
 {
 }
Exemple #4
0
 public RepositoryWrapper(IMapper mapper, QaContext dbContext)
 {
     this.qaContext = dbContext;
     this.mapper    = mapper;
 }
Exemple #5
0
 public RepositoryBase(QaContext qaContext)
 {
     this.QaContext = qaContext;
     this.dbSet     = qaContext.Set <T>();
 }
Exemple #6
0
 public TagRepository(QaContext qaContext)
     : base(qaContext)
 {
 }
Exemple #7
0
 public UserRoleRepository(QaContext qaContext)
     : base(qaContext)
 {
 }
Exemple #8
0
 public UnitOfWork(QaContext QaContext)
 {
     this.QaContext = QaContext;
 }
Exemple #9
0
 public QuestionTagRepository(QaContext qaContext)
     : base(qaContext)
 {
 }
 public QuestionCommentRepository(QaContext qaContext)
     : base(qaContext)
 {
 }
Exemple #11
0
 public UserTokenRepository(QaContext QaContext)
     : base(QaContext)
 {
 }
 public BookmarkRepository(QaContext qaContext)
     : base(qaContext)
 {
 }
Exemple #13
0
 public RolesRepository(QaContext qaContext)
     : base(qaContext)
 {
     this.roles = qaContext.Set <Role>();
     this.users = qaContext.Set <User>();
 }
Exemple #14
0
 public AnswerCommentRepository(QaContext qaContext)
     : base(qaContext)
 {
 }
 public QuestionVotersListRepository(QaContext qaContext)
     : base(qaContext)
 {
 }