Share via


DataServiceBehavior.AcceptProjectionRequests 属性

定义

获取或设置是否应接受投影请求。

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

属性值

如果支持投影请求,则为 true;否则为 false

注解

投影请求是使用 $select 查询选项发出的。

适用于