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 | |
---|---|---|
AcceptAnyAllRequests | Gets or sets whether the server will accept requests with filters that contain all or any expressions. | |
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. | |
AcceptSpatialLiteralsInQuery | Gets or sets whether spatial literal values are supported in the URI. | |
IncludeAssociationLinksInResponse | Get or sets whether relationship links are included in responses from the data service. | |
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. | |
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 | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
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.