Method Skip
- Namespace
- Open.Database.Extensions
- Assembly
- Open.Database.Extensions.Core.dll
Skip<T>(IExecuteReader, int, Func<IDataRecord, T>)
Iterates an IDataReader and skips the first number of results defined by the count.
public static List<T> Skip<T>(this IExecuteReader command, int count, Func<IDataRecord, T> transform)
Parameters
commandIExecuteReaderThe IExecuteReader to iterate.
countintThe number of records to skip.
transformFunc<IDataRecord, T>The transform function to process each IDataRecord.
Returns
- List<T>
The results from the transform after the skip count.
Type Parameters
TThe return type of the transform function.