예제 #1
0
 public Repository(EFModels.earlynews_testContext ctx, IMapper mapper, LogRepository loggerRepo, ILogger logger)
 {
     _mapper     = mapper;
     _context    = ctx;
     _set        = _context.Set <DBEntity>();
     _loggerRepo = loggerRepo;
 }
예제 #2
0
 public ScenarioRepository(EFModels.earlynews_testContext ctx, IMapper mapper, LogRepository logger, ILogger ilogger) : base(ctx, mapper, logger, ilogger)
 {
 }
 public DubiousArticleRepository(EFModels.earlynews_testContext ctx, IMapper mapper, LogRepository logger, ILogger ilogger) : base(ctx, mapper, logger, ilogger)
 {
 }
예제 #4
0
 public LogRepository(EFModels.earlynews_testContext ctx, IMapper mapper, ILogger ilogger) : base(ctx, mapper, null, ilogger)
 {
 }