/// <summary> /// Selects records as a collection (List) of Enquiry sorted by the sortByExpression and returns the rows (# of records) starting from the startRowIndex /// </summary> public static List <Enquiry> SelectSkipAndTake(int rows, int startRowIndex, string sortByExpression, bool isIncludeRelatedProperties = true) { sortByExpression = GetSortExpression(sortByExpression); return(EnquiryDataLayer.SelectSkipAndTake(sortByExpression, startRowIndex, rows, isIncludeRelatedProperties)); }