Export (0) Print
Expand All

DataServiceConfiguration Class

Use this class to manage the configuration data for a data service.

System.Object
  System.Data.Services.DataServiceConfiguration

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

public sealed class DataServiceConfiguration : IDataServiceConfiguration

The DataServiceConfiguration type exposes the following members.

  NameDescription
Public propertyAnnotationsBuilderBuilds the annotation models to be applied to the data model of the provider.
Public propertyDataServiceBehaviorGets a DataServiceBehavior object that defines the additional behaviors of the data service.
Public propertyDisableValidationOnMetadataWriteGets or sets whether the data model is validated before it is written as a response to a request to the $metadata endpoint.
Public propertyEnableTypeConversionGets or sets whether the data service runtime should convert the type that is contained in the payload to the actual property type that is specified in the request.
Public propertyMaxBatchCountGets or sets the maximum number of change sets and query operations that are allowed in a single batch.
Public propertyMaxChangesetCountGets or set the maximum number of changes that can be included in a single change set.
Public propertyMaxExpandCountGets or sets the maximum number of related entities that can be included in a single request by using the $expand operator.
Public propertyMaxExpandDepthGet or sets the maximum number of related entities that can be included in an $expand path in a single request.
Public propertyMaxObjectCountOnInsertGet or sets the maximum number of objects to insert that can be contained in a single POST request.
Public propertyMaxResultsPerCollectionGet or sets the maximum number of items in each returned collection.
Public propertyUseVerboseErrorsGets or sets whether the verbose errors should be returned by the data service.
Top

  NameDescription
Public methodEnableTypeAccessRegisters a data type with the data service runtime so that it can be used by a custom data service provider.
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodRegisterKnownTypeAdds a type to the list of types that are recognized by the data service.
Public methodSetEntitySetAccessRuleSets the permissions for the specified entity set resource.
Public methodSetEntitySetPageSizeSets the maximum page size for an entity set resource.
Public methodSetServiceActionAccessRuleSets the permissions for the specified service action.
Public methodSetServiceOperationAccessRuleSets the permissions for the specified service operation.
Public methodToString (Inherited from Object.)
Top

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