public EFRepository(IQuizFactoryDbContext context) { if (context == null) { throw new ArgumentException("An instance of DbContext is required to use this repository.", "context"); } this.Context = context; this.set = context.Set <T>(); }
public QuizFactoryData(IQuizFactoryDbContext context) { this.context = context; }
public DeletableEntityRepository(IQuizFactoryDbContext context) : base(context) { }