DbLimitExpression.Limit 属性

定义

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

public:
 property System::Data::Common::CommandTrees::DbExpression ^ Limit { System::Data::Common::CommandTrees::DbExpression ^ get(); };
public System.Data.Common.CommandTrees.DbExpression Limit { get; }
member this.Limit : System.Data.Common.CommandTrees.DbExpression
Public ReadOnly Property Limit As DbExpression

属性值

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

例外

表达式为 null.

该表达式不与命令树DbLimitExpression关联,或者不是其中一种DbConstantExpressionDbParameterReferenceExpression,或者其结果类型不等于或可提升为 64 位整数类型。

适用于