public ChallengesDbContextSeeder(ChallengesDbContext context, IWebHostEnvironment environment, ILogger <ChallengesDbContextSeeder> logger) : base(
         context,
         environment,
         logger)
 {
     Challenges = context.Set <ChallengeModel>();
 }
Exemple #2
0
 public MatchQuery(ChallengesDbContext context)
 {
     Matches = context.Set <MatchModel>().AsNoTracking();
 }
 public ChallengeRepository(ChallengesDbContext context)
 {
     UnitOfWork = context;
     Challenges = context.Set <ChallengeModel>();
 }
Exemple #4
0
 public ChallengeQuery(ChallengesDbContext context)
 {
     Challenges = context.Set <ChallengeModel>().AsNoTracking();
 }
Exemple #5
0
 public ParticipantQuery(ChallengesDbContext context)
 {
     Participants = context.Set <ParticipantModel>().AsNoTracking();
 }