DbExpressionBuilder.Skip 方法

定义

重载

Skip(DbSortExpression, DbExpression)

创建一个新的 DbSkipExpression,它在给定的有序输入集中跳过指定数量的元素。

Skip(DbExpressionBinding, IEnumerable<DbSortClause>, DbExpression)

创建一个新的 DbSkipExpression,它在跳过指定数目的元素之前,按照指定的排序规范对给定的输入集进行排序。

Skip(DbSortExpression, DbExpression)

创建一个新的 DbSkipExpression,它在给定的有序输入集中跳过指定数量的元素。

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

参数

argument
DbSortExpression

指定有序输入集的 DbSortExpression

count
DbExpression

一个表达式,指定要在有序集中跳过的元素个数。

返回

表示跳过操作的新 DbSkipExpression。

例外

参数或计数为 null。

count 不是 DbConstantExpressionDbParameterReferenceExpression 或具有不等于或提升为 64 位整数类型的结果类型。

适用于

Skip(DbExpressionBinding, IEnumerable<DbSortClause>, DbExpression)

创建一个新的 DbSkipExpression,它在跳过指定数目的元素之前,按照指定的排序规范对给定的输入集进行排序。

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

参数

input
DbExpressionBinding

一个指定输入集的表达式绑定。

sortOrder
IEnumerable<DbSortClause>

确定应如何对输入集元素排序的排序规范列表。

count
DbExpression

一个表达式,指定要在有序集中跳过的元素个数。

返回

表示跳过操作的新 DbSkipExpression。

例外

input、sortOrder 或 count 为 null,或 sortOrder 包含 null。

sortOrder 为空,或者 count 不 DbConstantExpression 为或 DbParameterReferenceExpression 或具有不等于或提升为 64 位整数类型的结果类型。

适用于