public QuestionRepository(IQuestionContext context)
 {
     this.context = context;
 }
 public QuestionRepository()
 {
     this.context = new QuestionContextSQL();
 }
Esempio n. 3
0
 public void SetupConnections()
 {
     TestContext     = new TestContext(connection);
     UserContext     = new UserContext(connection);
     QuestionContext = new QuestionContext(connection);
 }
Esempio n. 4
0
 public QuestionUow(IQuestionContext context, IRepositoryProvider repositoryProvider) : base(context, repositoryProvider)
 {
 }
 public QuestionLogic(IQuestionContext question)
 {
     _question = question;
 }