public ContractRepository(IMainDatabaseContext dbContext) : base(dbContext) { _dbContext = (MainDatabaseContext)dbContext; }
/// <summary> /// The class constructor. /// </summary> /// <param name="dbContext">The DI registered interface of the main database context.</param> public BaseRepository(IMainDatabaseContext dbContext) { _dbContext = (MainDatabaseContext)dbContext; DbSet = _dbContext.Set <TEntity>(); }
public RiskQuestionRepository(IMainDatabaseContext dbContext) : base(dbContext) { _dbContext = (MainDatabaseContext)dbContext; }