Share via


ObjectQuery<T>.Skip(String, String, ObjectParameter[]) Method

Definition

Orders the query results by the specified criteria and skips a specified number of results.

public System.Data.Entity.Core.Objects.ObjectQuery<T> Skip (string keys, string count, params System.Data.Entity.Core.Objects.ObjectParameter[] parameters);
member this.Skip : string * string * System.Data.Entity.Core.Objects.ObjectParameter[] -> System.Data.Entity.Core.Objects.ObjectQuery<'T>
Public Function Skip (keys As String, count As String, ParamArray parameters As ObjectParameter()) As ObjectQuery(Of T)

Parameters

keys
String

The key columns by which to order the results.

count
String

The number of results to skip. This must be either a constant or a parameter reference.

parameters
ObjectParameter[]

An optional set of query parameters that should be in scope when parsing.

Returns

A new ObjectQuery<T> instance that is equivalent to the original instance with both ORDER BY and SKIP applied.

Exceptions

Any argument is null.

keys is an empty string or count is an empty string.

Applies to