Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataServiceBehavior Class

Adds settings that define behavior to a custom data service.


Namespace:  System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

public sealed class DataServiceBehavior

The DataServiceBehavior type exposes the following members.

Public propertyAcceptAnyAllRequestsGets or sets whether the server will accept requests with filters that contain all or any expressions.
Public propertyAcceptCountRequestsGets or sets whether requests with the $count path segment or the $inlinecount query options are accepted.
Public propertyAcceptProjectionRequestsGets or sets whether projection requests should be accepted.
Public propertyAcceptSpatialLiteralsInQueryGets or sets whether spatial literal values are supported in the URI.
Public propertyIncludeAssociationLinksInResponseGet or sets whether relationship links are included in responses from the data service.
Public propertyInvokeInterceptorsOnLinkDeleteGets or sets whether to invoke change interceptors when a link is deleted.
Public propertyMaxProtocolVersionGets or sets the maximum protocol version that is supported by the response sent by the data service.
Public propertyUseMetadataKeyOrderForBuiltInProvidersGet or sets whether to use the order of key properties as defined in the metadata of an Entity Framework or reflection provider when constructing an implicit OrderBy query.

Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft