DbExpressionBuilder.Limit(DbExpression, DbExpression) メソッド

定義

Argument コレクションの要素数を指定した数の制限値に制限する新しい DbLimitExpression オブジェクトを作成します。 同じ順位の結果は出力に含まれません。

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

パラメーター

argument
DbExpression

入力コレクションを指定する式。

count
DbExpression

制限値を指定する式。

戻り値

関連付けられた結果を含まない、指定された引数と数の制限値を持つ新しい DbLimitExpression。

例外

引数または count が null です。

引数にコレクションの結果の型が含まれていないか、count に 64 ビット整数型と等しいか昇格可能な結果の型がありません。

適用対象