DbLimitExpression.Limit 属性

定义

获取一个表达式,该表达式指定从输入集合返回的元素数限制。

public System.Data.Entity.Core.Common.CommandTrees.DbExpression Limit { get; }
member this.Limit : System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public ReadOnly Property Limit As DbExpression

属性值

一个指定从输入集合中返回的元素数限制的表达式。

例外

表达式为 null。

表达式不与 的命令树DbLimitExpression关联,或者不是 或 DbParameterReferenceExpression 中的DbConstantExpression一个,或者其结果类型不等于或不能提升为 64 位整数类型。

适用于