Udostępnij za pośrednictwem


System.Data.Services Namespace

Provides access to classes used to build WCF Data Services.

Classes

  Class Description
Public class ChangeInterceptorAttribute The ChangeInterceptorAttribute on a method is used to process updates on the specified entity set name.
Public class DataService<T> The main entry point for developing an Open Data Protocol (OData) data service by using WCF Data Services.
Public class DataServiceBehavior Adds settings that define behavior to a custom data service.
Public class DataServiceConfiguration Manages the configuration of WCF Data Services.
Public class DataServiceException Represents an instance of the DataServiceException class with a specified message that describes the error.
Public class DataServiceHost The WCF Data Services class derived from WebServiceHost used to instantiate data services.
Public class DataServiceHostFactory Represents a class used by the infrastructure of WCF Data Services to connect to Windows Communication Foundation (WCF). 
Public class DataServiceOperationContext Represents the current operation being processed.
Public class DataServiceProcessingPipeline Defines the events for the data service processing pipeline.
Public class DataServiceProcessingPipelineEventArgs Event argument class for DataServiceProcessingPipeline events.
Public class ETagAttribute This attribute on an entity type is used to specify the properties that determine changes in content.
Public class ExpandSegment The segment of a query that indicates whether data should be returned inline instead of as deferred content.
Public class ExpandSegmentCollection The segments of a query that can be expanded by the $expand clause that follows a query.
Public class HandleExceptionArgs Specifies details of an exception that has occurred and the details of the associated HTTP response.
Public class IgnorePropertiesAttribute Controls the visibility of a property or properties by WCF Data Services.
Public class MimeTypeAttribute Indicates the MIME type of HTTP request.
Public class ProcessRequestArgs Represents arguments used by an HTTP request to the data service.
Public class QueryInterceptorAttribute The QueryInterceptorAttribute on a method annotates it as a query interceptor on the specified entity set.
Public class SingleResultAttribute Attribute used on service operations to specify that they return a single instance of their return element.

Interfaces

  Interface Description
Public interface IDataServiceConfiguration The IDataServiceConfiguration is used by WCF Data Services to set up the behavior of the service, including rights on entity sets and service operations, limits on the allowed requests, registering types not discoverable by default, and the default verbosity on error handling.
Public interface IDataServiceHost Interface that specifies interactions between WCF Data Services and its hosting environment.
Public interface IDataServiceHost2 Defines extensions to IDataServiceHost needed for request and response headers in HTTP.
Public interface IExpandedResult Declares the members required to support enumerators for results and associated segments on an WCF Data Services $expand query option.  
Public interface IExpandProvider Obsolete. This interface declares the methods required to support the $expand query option for an WCF Data Services.
Public interface IRequestHandler Provides access to members that control handing of request messages.
Public interface IUpdatable An interface used to insert or update a resource by the HTTP POST method.

Enumerations

  Enumeration Description
Public enumeration EntitySetRights An enumeration used to define access rights to data that is deployed by WCF Data Services.
Public enumeration ServiceActionRights Access rights for service actions.
Public enumeration ServiceOperationRights An enumeration used to define access rights to service operations deployed by WCF Data Services.
Public enumeration UpdateOperations An enumeration used to specify the update operations that were performed on an entity.