Table of Contents

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

command IExecuteReader

The IExecuteReader to iterate.

count int

The number of records to skip.

transform Func<IDataRecord, T>

The transform function to process each IDataRecord.

Returns

List<T>

The results from the transform after the skip count.

Type Parameters

T

The return type of the transform function.