DataServiceBehavior Class

Adds settings that define behavior to a custom data service.

Inheritance Hierarchy

System.Object
  System.Data.Services.DataServiceBehavior

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

Syntax

'Declaration
Public NotInheritable Class DataServiceBehavior
'Usage
Dim instance As DataServiceBehavior
public sealed class DataServiceBehavior
public ref class DataServiceBehavior sealed
[<SealedAttribute>]
type DataServiceBehavior =  class end
public final class DataServiceBehavior

The DataServiceBehavior type exposes the following members.

Properties

  Name Description
Public property AcceptAnyAllRequests Gets or sets whether the server will accept requests with filters that contain all or any expressions.
Public property AcceptCountRequests Gets or sets whether requests with the $count path segment or the $inlinecount query options are accepted.
Public property AcceptProjectionRequests Gets or sets whether projection requests should be accepted.
Public property AcceptSpatialLiteralsInQuery Gets or sets whether spatial literal values are supported in the URI.
Public property IncludeAssociationLinksInResponse Get or sets whether relationship links are included in responses from the data service.
Public property InvokeInterceptorsOnLinkDelete Gets or sets whether to invoke change interceptors when a link is deleted.
Public property MaxProtocolVersion Gets or sets the maximum protocol version that is supported by the response sent by the data service.
Public property UseMetadataKeyOrderForBuiltInProviders Get 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.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

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

See Also

Reference

System.Data.Services Namespace