DbExpressionBuilder.Skip Metoda

Definice

Vytvoří novou DbSkipExpression , která před přeskočením zadaného počtu prvků seřadí danou vstupní sadu podle zadaných specifikací řazení.

Přetížení

Name Description
Skip(DbSortExpression, DbExpression)

Vytvoří nový DbSkipExpression , který přeskočí zadaný počet prvků z dané seřazené vstupní sady.

Skip(DbExpressionBinding, IEnumerable<DbSortClause>, DbExpression)

Vytvoří novou DbSkipExpression , která před přeskočením zadaného počtu prvků seřadí danou vstupní sadu podle zadaných specifikací řazení.

Skip(DbSortExpression, DbExpression)

Vytvoří nový DbSkipExpression , který přeskočí zadaný počet prvků z dané seřazené vstupní sady.

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

Parametry

argument
DbSortExpression

A DbSortExpression , který určuje seřazenou vstupní sadu.

count
DbExpression

Výraz určuje, kolik prvků seřazené sady se má přeskočit.

Návraty

Nový DbSkipExpression, který představuje operaci přeskočení.

Výjimky

argument nebo count má hodnotu null.

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

Platí pro

Skip(DbExpressionBinding, IEnumerable<DbSortClause>, DbExpression)

Vytvoří novou DbSkipExpression , která před přeskočením zadaného počtu prvků seřadí danou vstupní sadu podle zadaných specifikací řazení.

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

Parametry

input
DbExpressionBinding

Vazba výrazu, která určuje vstupní sadu.

sortOrder
IEnumerable<DbSortClause>

Seznam specifikací řazení, které určují, jak mají být prvky vstupní sady seřazeny.

count
DbExpression

Výraz určuje, kolik prvků seřazené sady se má přeskočit.

Návraty

Nový DbSkipExpression, který představuje operaci přeskočení.

Výjimky

inputnebo sortOrdercount má hodnotu null nebo sortOrder obsahuje hodnotu null.

sortOrderje prázdný, nebo není count nebo DbConstantExpressionDbParameterReferenceExpression nemá typ výsledku, který není roven 64bitovému celočíselnému typu.

Platí pro