/// <summary> /// Returns rows from the DataSource that meet the parameter and sort conditions. /// </summary> /// <param name="parameters">A collection of <see cref="SqlFilterParameter"/> objects.</param> /// <param name="sortColumns">A collection of <see cref="SqlSortColumn"/> objects.</param> /// <param name="start">Row number at which to start reading.</param> /// <param name="pageLength">Number of rows to return.</param> /// <param name="count">out. The number of rows that match this query.</param> /// <returns>Returns a typed collection of Entity objects.</returns> public virtual VList <Entity> Find(IFilterParameterCollection parameters, ISortColumnCollection sortColumns, int start, int pageLength, out int count) { return(Find((TransactionManager)null, parameters, sortColumns.ToString(), start, pageLength, out count)); }
/// <summary> /// Returns rows from the DataSource that meet the parameter conditions. /// </summary> /// <param name="transactionManager"><see cref="TransactionManager"/> object</param> /// <param name="parameters">A collection of <see cref="SqlFilterParameter"/> objects.</param> /// <param name="sortColumns">A collection of <see cref="SqlSortColumn"/> objects.</param> /// <returns>Returns a typed collection of Entity objects.</returns> public virtual VList <Entity> Find(TransactionManager transactionManager, IFilterParameterCollection parameters, ISortColumnCollection sortColumns) { return(Find(transactionManager, parameters, sortColumns.ToString())); }