public GenericRawSql(CommonContext context) { _context = context; _dbSet = context.Set <TEntity>(); }
public RepositoryBase(CommonContext context) { this.context = context; dbSet = context.Set <T>(); }