Ejemplo n.º 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));
        }
Ejemplo n.º 2
0
 public AnswerVotersListRepository(QaContext qaContext)
     : base(qaContext)
 {
 }
Ejemplo n.º 3
0
 public AnswerRepository(QaContext qaContext)
     : base(qaContext)
 {
 }
Ejemplo n.º 4
0
 public RepositoryWrapper(IMapper mapper, QaContext dbContext)
 {
     this.qaContext = dbContext;
     this.mapper    = mapper;
 }
Ejemplo n.º 5
0
 public RepositoryBase(QaContext qaContext)
 {
     this.QaContext = qaContext;
     this.dbSet     = qaContext.Set <T>();
 }
Ejemplo n.º 6
0
 public TagRepository(QaContext qaContext)
     : base(qaContext)
 {
 }
Ejemplo n.º 7
0
 public UserRoleRepository(QaContext qaContext)
     : base(qaContext)
 {
 }
Ejemplo n.º 8
0
 public UnitOfWork(QaContext QaContext)
 {
     this.QaContext = QaContext;
 }
Ejemplo n.º 9
0
 public QuestionTagRepository(QaContext qaContext)
     : base(qaContext)
 {
 }
 public QuestionCommentRepository(QaContext qaContext)
     : base(qaContext)
 {
 }
Ejemplo n.º 11
0
 public UserTokenRepository(QaContext QaContext)
     : base(QaContext)
 {
 }
Ejemplo n.º 12
0
 public BookmarkRepository(QaContext qaContext)
     : base(qaContext)
 {
 }
Ejemplo n.º 13
0
 public RolesRepository(QaContext qaContext)
     : base(qaContext)
 {
     this.roles = qaContext.Set <Role>();
     this.users = qaContext.Set <User>();
 }
Ejemplo n.º 14
0
 public AnswerCommentRepository(QaContext qaContext)
     : base(qaContext)
 {
 }
 public QuestionVotersListRepository(QaContext qaContext)
     : base(qaContext)
 {
 }