ObjectQuery<T>.Skip Method (String, String, ObjectParameter[])
Orders the query results by the specified criteria and skips a specified number of results.
Assembly: EntityFramework (in EntityFramework.dll)
public ObjectQuery<T> Skip( string keys, string count, params ObjectParameter[] parameters )
Parameters
- keys
-
Type:
System.String
The key columns by which to order the results.
- count
-
Type:
System.String
The number of results to skip. This must be either a constant or a parameter reference.
- parameters
-
Type:
System.Data.Entity.Core.Objects.ObjectParameter[]
An optional set of query parameters that should be in scope when parsing.
Return Value
Type: System.Data.Entity.Core.Objects.ObjectQuery<T>A new ObjectQuery<T> instance that is equivalent to the original instance with both ORDER BY and SKIP applied.
Exception | Condition |
---|---|
ArgumentNullException | Any argument is null. |
ArgumentException | keys is an empty string or count is an empty string. |