示例#1
0
 public StudentRepository(StudentContext studentContext, IMapper mapper, ILogger <StudentRepository> exceptionLogger)
 {
     _studentContext  = studentContext;
     _mapper          = mapper;
     _exceptionLogger = exceptionLogger;
 }
示例#2
0
 public StudentRepository(StudentContext context)
 {
     _context = context;
     entities = context.Set <T>();
 }