DataServiceBehavior.AcceptCountRequests 属性

定义

获取或设置是否接受带有 $count 路径段或 $inlinecount 查询选项的请求。

public:
 property bool AcceptCountRequests { bool get(); void set(bool value); };
public bool AcceptCountRequests { get; set; }
member this.AcceptCountRequests : bool with get, set
Public Property AcceptCountRequests As Boolean

属性值

如果支持计数请求,则为 true;否则为 false

适用于