System.Data.Services 命名空间

提供对用于生成 WCF Data Services 的类的访问。 Provides access to classes used to build WCF Data Services.

ChangeInterceptorAttribute

方法上的 ChangeInterceptorAttribute 用于处理对指定实体集名称的更新。The ChangeInterceptorAttribute on a method is used to process updates on the specified entity set name.

DataService<T>

用于开发 ADO.NET 数据服务的主入口点。The main entry point for developing an ADO.NET Data Service.

DataServiceBehavior

添加用于将行为定义到自定义数据服务的设置。Adds settings that define behavior to a custom data service.

DataServiceConfiguration

管理 WCF Data Service 的配置。Manages the configuration of WCF Data Services.

DataServiceException

使用指定的错误描述消息表示 DataServiceException 类的实例。Represents an instance of the DataServiceException class with a specified message that describes the error.

DataServiceHost

派生自 WebServiceHost 的 WCF Data Service 类用于实例化数据服务。The WCF Data Services class derived from WebServiceHost used to instantiate data services.

DataServiceHostFactory

表示 WCF Data Services 基础结构用于连接 Windows Communication Foundation (WCF) 的类。Represents the class used by the infrastructure of WCF Data Services to connect to Windows Communication Foundation (WCF).

DataServiceOperationContext

表示当前正在处理的操作。Represents the current operation being processed.

DataServiceProcessingPipeline

为数据服务处理管道定义事件。Defines the events for the data service processing pipeline.

DataServiceProcessingPipelineEventArgs

DataServiceProcessingPipeline 事件的事件参数类。Event argument class for DataServiceProcessingPipeline events.

ETagAttribute

使用实体类型上的此特性来指定用于确定内容更改的属性。This attribute on an entity type is used to specify the properties that determine changes in content.

ExpandSegment

用于指示是否应以内联方式(而不是作为延迟内容)返回数据的查询段。The segment of a query that indicates whether data should be returned inline instead of as deferred content.

ExpandSegmentCollection

可由查询后面的 $expand 子句扩展的查询段。The segments of a query that can be expanded by the $expand clause that follows a query.

HandleExceptionArgs

指定所发生异常的详细信息,以及关联 HTTP 响应的详细信息。Specifies details of an exception that has occurred and the details of the associated HTTP response.

IgnorePropertiesAttribute

通过 WCF Data Services 控制一个或多个属性的可见性。Controls the visibility of a property or properties by WCF Data Services.

MimeTypeAttribute

指示 HTTP 请求的 MIME 类型。Indicates the MIME type of HTTP request.

ProcessRequestArgs

表示由数据服务 HTTP 请求使用的参数。Represents arguments used by an HTTP request to the data service.

QueryInterceptorAttribute

方法上的 QueryInterceptorAttribute 将其批注为指定实体集上的查询拦截器。The QueryInterceptorAttribute on a method annotates it as a query interceptor on the specified entity set.

SingleResultAttribute

用在服务操作上的属性,可指定操作返回其返回元素的单个实例。Attribute used on service operations to specify that they return a single instance of their return element.

接口

IDataServiceConfiguration

IDataServiceConfiguration 由 WCF Data Services 用于设置服务的行为,包括针对实体集和服务操作的权限,对所允许的请求的限制,默认情况下不易发现的注册类型和关于错误处理的默认详细信息。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.

IDataServiceHost

用于指定 WCF Data Services 和其宿主环境之间的交互的接口。Interface that specifies interactions between WCF Data Services and its hosting environment.

IDataServiceHost2

定义对 HTTP 中的请求和响应标头所需的 IDataServiceHost 的扩展。Defines extensions to IDataServiceHost needed for request and response headers in HTTP.

IExpandedResult

声明为 WCF Data Services $expand 查询选项上的结果和关联段支持枚举器所需的成员。Declares the members required to support enumerators for results and associated segments on an WCF Data Services $expand query option.

IExpandProvider

此接口声明为 WCF Data Services 支持 $expand 查询选项所需的方法。This interface declares the methods required to support the $expand query option for an WCF Data Services.

IRequestHandler

提供对成员的访问,这些成员控制请求消息的处理。Provides access to members that control handing of request messages.

IUpdatable

HTTP POST 方法用于插入或更新资源的接口。An interface used to insert or update a resource by the HTTP POST method.

枚举

EntitySetRights

用于定义对 WCF Data Services 所部署数据的访问权限的枚举。An enumeration used to define access rights to data that is deployed by WCF Data Services.

ServiceOperationRights

一个枚举,用于定义对 WCF Data Services 所部署服务操作的访问权限。An enumeration used to define access rights to service operations deployed by WCF Data Services.

UpdateOperations

一个枚举,用于指定对实体执行的更新操作。An enumeration used to specify the update operations that were performed on an entity.