Muokkaa

Jaa


DbExpressionBuilder.Skip Method

Definition

Creates a new DbSkipExpression that sorts the given input set by the given sort specifications before skipping the specified number of elements.

Overloads

Skip(DbSortExpression, DbExpression)

Creates a new DbSkipExpression that skips the specified number of elements from the given sorted input set.

Skip(DbExpressionBinding, IEnumerable<DbSortClause>, DbExpression)

Creates a new DbSkipExpression that sorts the given input set by the given sort specifications before skipping the specified number of elements.

Skip(DbSortExpression, DbExpression)

Creates a new DbSkipExpression that skips the specified number of elements from the given sorted input set.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbSkipExpression ^ Skip(System::Data::Common::CommandTrees::DbSortExpression ^ argument, System::Data::Common::CommandTrees::DbExpression ^ count);
public static System.Data.Common.CommandTrees.DbSkipExpression Skip (this System.Data.Common.CommandTrees.DbSortExpression argument, System.Data.Common.CommandTrees.DbExpression count);
static member Skip : System.Data.Common.CommandTrees.DbSortExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbSkipExpression
<Extension()>
Public Function Skip (argument As DbSortExpression, count As DbExpression) As DbSkipExpression

Parameters

argument
DbSortExpression

A DbSortExpression that specifies the sorted input set.

count
DbExpression

An expression the specifies how many elements of the ordered set to skip.

Returns

A new DbSkipExpression that represents the skip operation.

Exceptions

argument or count is null.

count is not DbConstantExpression or DbParameterReferenceExpression or has a result type that is not equal or promotable to a 64-bit integer type.

Applies to

Skip(DbExpressionBinding, IEnumerable<DbSortClause>, DbExpression)

Creates a new DbSkipExpression that sorts the given input set by the given sort specifications before skipping the specified number of elements.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbSkipExpression ^ Skip(System::Data::Common::CommandTrees::DbExpressionBinding ^ input, System::Collections::Generic::IEnumerable<System::Data::Common::CommandTrees::DbSortClause ^> ^ sortOrder, System::Data::Common::CommandTrees::DbExpression ^ count);
public static System.Data.Common.CommandTrees.DbSkipExpression Skip (this System.Data.Common.CommandTrees.DbExpressionBinding input, System.Collections.Generic.IEnumerable<System.Data.Common.CommandTrees.DbSortClause> sortOrder, System.Data.Common.CommandTrees.DbExpression count);
static member Skip : System.Data.Common.CommandTrees.DbExpressionBinding * seq<System.Data.Common.CommandTrees.DbSortClause> * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbSkipExpression
<Extension()>
Public Function Skip (input As DbExpressionBinding, sortOrder As IEnumerable(Of DbSortClause), count As DbExpression) As DbSkipExpression

Parameters

input
DbExpressionBinding

An expression binding that specifies the input set.

sortOrder
IEnumerable<DbSortClause>

A list of sort specifications that determine how the elements of the input set should be sorted.

count
DbExpression

An expression the specifies how many elements of the ordered set to skip.

Returns

A new DbSkipExpression that represents the skip operation.

Exceptions

input, sortOrder or count is null, or sortOrder contains null.

sortOrder is empty, or count is not DbConstantExpression or DbParameterReferenceExpression or has a result type that is not equal or promotable to a 64-bit integer type.

Applies to