DataServiceBehavior Class

Definition

Adds settings that define behavior to a custom data service.

public ref class DataServiceBehavior sealed
public sealed class DataServiceBehavior
type DataServiceBehavior = class
Public NotInheritable Class DataServiceBehavior
Inheritance
DataServiceBehavior

Properties

AcceptCountRequests

Gets or sets whether requests with the $count path segment or the $inlinecount query options are accepted.

AcceptProjectionRequests

Gets or sets whether projection requests should be accepted.

AcceptReplaceFunctionInQuery

Allow replace functions in the request url.

InvokeInterceptorsOnLinkDelete

Gets or sets whether to invoke change interceptors when a link is deleted.

MaxProtocolVersion

Gets or sets the maximum protocol version that is supported by the response sent by the data service.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to