Exemplo n.º 1
0
        public static DefaultRepository <T, S> GetDefaultRepo()
        {
            if (_singleton == null)
            {
                _singleton = new DefaultRepository <T, S>();
            }

            return(_singleton);
        }
Exemplo n.º 2
0
 public TestDownloadsFacade()
 {
     _repo = DefaultRepository <TestDownloadsDal, int> .GetDefaultRepo().DefaultRepoWithProcedure;
 }
Exemplo n.º 3
0
 public InterestFacade()
 {
     _repository = DefaultRepository <InterestDal, int> .GetDefaultRepo().DefaultRepo;
 }
Exemplo n.º 4
0
 public AchievementFacade()
 {
     _rep = DefaultRepository <AchievementDal, int> .GetDefaultRepo().DefaultRepo;
 }
Exemplo n.º 5
0
 public RankFacade()
 {
     _repository = DefaultRepository <TestRankDal, int> .GetDefaultRepo().DefaultRepoWithProcedure;
 }
Exemplo n.º 6
0
 public QuestionTypeFacade()
 {
     _rep = DefaultRepository <QuestionTypeDal, int> .GetDefaultRepo().DefaultRepo;
 }
Exemplo n.º 7
0
 public TestFacade()
 {
     _repo = DefaultRepository <TestDal, int> .GetDefaultRepo().DefaultRepo;
 }
Exemplo n.º 8
0
 public StudentUserFacade()
 {
     _repository = DefaultRepository <StudentUserDal, Guid> .GetDefaultRepo().DefaultRepo;
 }
Exemplo n.º 9
0
 public TestCreatorFacade()
 {
     _repository = DefaultRepository <TestCreatorUserDal, string> .GetDefaultRepo().DefaultRepo;
 }
Exemplo n.º 10
0
 public SubjectFacade()
 {
     _subjectRepo = DefaultRepository <SubjectDal, int> .GetDefaultRepo().DefaultRepo;
 }