예제 #1
0
        public void SetUp()
        {
            var options = new DbContextOptionsBuilder <StudiBudiContext>()
                          .UseInMemoryDatabase(GetType().Name)
                          .Options;

            context = new StudiBudiContext(options);

            PopulateContextWithData();
        }
예제 #2
0
 public TeacherActivity(StudiBudiContext context)
 {
     _context = context;
 }
예제 #3
0
 public QuestionRegister(StudiBudiContext context)
 {
     _context = context;
 }
예제 #4
0
 public LoginChecker(StudiBudiContext context, IHttpContextAccessor httpContextAccessor, IAccessDeniedHandler accessDeniedHandler)
 {
     _context             = context;
     _httpContextAccessor = httpContextAccessor;
     _accessDeniedHandler = accessDeniedHandler;
 }
예제 #5
0
 public UserInfoRegister(StudiBudiContext context)
 {
     _context = context;
 }
예제 #6
0
 public DBManager(StudiBudiContext context)
 {
     this.context = context;
 }
예제 #7
0
 public ReportsLoader(StudiBudiContext context)
 {
     this.context = context;
 }
예제 #8
0
파일: Points.cs 프로젝트: rokric/Studi-Budi
 public Points(IDBManager manager, StudiBudiContext context)
 {
     this.manager = manager;
     this.context = context;
 }
예제 #9
0
 public UserInfoLoader(StudiBudiContext context)
 {
     _context = context;
 }
예제 #10
0
 public StudentPoints(StudiBudiContext context, IDBManager manager)
 {
     this.context              = context;
     this.manager              = manager;
     addPointsEvent.AddPoints += AddPointsHandler;
 }
예제 #11
0
 public Profile(StudiBudiContext context)
 {
     _context = context;
 }
예제 #12
0
 public AccessDeniedHandler(StudiBudiContext context)
 {
     this.context = context;
 }
예제 #13
0
 public AdminActivity(StudiBudiContext context)
 {
     _context = context;
 }