System.Data.Services.Client 命名空间
表示可供应用程序用来与 WCF Data Services 进行交互的 .NET Framework 客户端库。 Represents the .NET Framework client library that applications can use to interact with WCF Data Services.
类
ChangeOperationResponse |
SaveChanges() 类返回枚举操作响应后,调用 DataServiceResponse 后返回的结果。Results returned after a call to SaveChanges() when enumerating operation responses returned by the DataServiceResponse class. |
DataServiceClientException |
表示执行 WCF Data Services 客户端应用程序过程中发生的错误。Represents errors that occur during execution of WCF Data Services client applications. |
DataServiceCollection<T> |
表示一个动态实体集合,可在添加、移除项目或刷新列表时提供通知。Represents a dynamic entity collection that provides notifications when items get added, removed, or when the list is refreshed. |
DataServiceContext |
DataServiceContext 表示数据服务的运行时上下文。The DataServiceContext represents the runtime context of the data service. |
DataServiceQuery |
表示对 WCF Data Services 的单个查询请求的抽象类。An abstract class that represents a single query request to WCF Data Services. |
DataServiceQuery<TElement> |
表示对数据服务的单个查询请求。Represents a single query request to a data service. |
DataServiceQueryContinuation |
封装返回已分页的 WCF Data Services 查询结果的下一页的 URI。Encapsulates a URI that returns the next page of a paged WCF Data Services query result. |
DataServiceQueryContinuation<T> |
封装返回已分页的 WCF Data Services 查询结果的下一页的 URI。Encapsulates a URI that returns the next page of a paged WCF Data Services query result. |
DataServiceQueryException |
指示从数据服务加载属性值时出错的异常。Exception that indicates an error occurred loading the property value from the data service. |
DataServiceRequest |
表示作为批处理提交到 WCF Data Services 的请求对象。Represents request objects submitted as a batch to WCF Data Services. |
DataServiceRequest<TElement> |
表示作为批处理提交到数据服务的请求对象。Represents request objects submitted as a batch to the data service. |
DataServiceRequestArgs |
表示包含在 WCF Data Services 的请求消息中的其他元数据。Represents additional metadata that is included in a request message to WCF Data Services. |
DataServiceRequestException |
表示当数据服务返回的响应代码小于200或大于299,或者响应中的顶级元素 |
DataServiceResponse |
表示对作为调用 SaveChanges() 的结果发送到数据服务的操作的响应。Represents the response to operations sent to the data service as a result of calling SaveChanges(). |
DataServiceStreamResponse |
表示 WCF Data Services 中包含二进制数据作为流的响应。Represents a response from WCF Data Services that contains binary data as a stream. |
Descriptor |
从中派生 EntityDescriptor 的抽象类。Abstract class from which EntityDescriptor is derived. |
EntityChangedParams |
包装 PropertyChanged 委托的自变量。Encapsulates the arguments of a PropertyChanged delegate. |
EntityCollectionChangedParams |
包装 CollectionChanged 委托的自变量。Encapsulates the arguments of a CollectionChanged delegate. |
EntityDescriptor |
由 DataServiceResponse 中返回的操作对实体进行的修改的说明。Description of modifications done to entities by operations returned in a DataServiceResponse. |
LinkDescriptor |
提供由 DataServiceResponse 中返回的操作对实体进行的修改的说明。Provides a description of modifications done to entities by operations returned in a DataServiceResponse. |
MediaEntryAttribute |
表示指定的类将被视为媒体链接项。Signifies that the specified class is to be treated as a media link entry. |
MimeTypePropertyAttribute |
批注已用 MediaEntryAttribute 进行批注的类上的属性。Annotates a property on a class that has been annotated with the MediaEntryAttribute. |
OperationResponse |
表示单个查询的响应或者创建、更新或删除操作的抽象类。Abstract class that represents the response of a single query or create, update, or delete operation. |
QueryOperationResponse |
表示对 DataServiceQuery 的响应。Represents the responses to a DataServiceQuery. |
QueryOperationResponse<T> |
表示对 DataServiceQuery<TElement> 的响应。Represents the responses to a DataServiceQuery<TElement>. |
ReadingWritingEntityEventArgs |
向实体和表示 Atom 条目的 |
SendingRequestEventArgs |
与 SendingRequest 事件一起使用,以提供对客户端即将发送至目标数据服务的 HttpWebRequest 实例的访问。Used with the SendingRequest event to provide access to the HttpWebRequest instance that the client is about to send to the target data service. |
枚举
EntityStates |
表示标识由 DataServiceContext 跟踪的实体的状态的枚举。Represents the enumeration that identifies the state of an entity being tracked by the DataServiceContext. |
MergeOption |
确定用于将实体发送至 WCF Data Services 或从后者接收实体的同步选项。Determines the synchronization option for sending or receiving entities to or from WCF Data Services. |
SaveChangesOptions |
指示调用 SaveChanges() 时的更改选项。Indicates change options when SaveChanges() is called. |
TrackingMode |
确定是否要跟踪对 DataServiceCollection<T> 所做的更改。Determines whether changes that are made to a DataServiceCollection<T> are tracked. |