public static IQueryable <TEntity> SelectAll(int maximumRows, int startRowIndex) { #region Validation if (maximumRows <= 0) { throw new ArgumentOutOfRangeException("maximumRows"); } if (startRowIndex < 0) { throw new ArgumentOutOfRangeException("startRowIndex"); } #endregion return(EntityTable.Skip(startRowIndex).Take(maximumRows)); }