DataServiceContext Properties
Include Protected Members
Include Inherited Members
The DataServiceContext type exposes the following members.
Properties
Name | Description | |
---|---|---|
AddAndUpdateResponsePreference | Gets or sets whether the client requests that the data service return entity data in the response message to a change request. | |
ApplyingChanges | Gets a value that indicates whether the DataServiceContext is currently applying changes to tracked objects. | |
BaseUri | Gets the absolute URI identifying the root of the target data service. | |
Credentials | Gets or sets the authentication information that is used by each query created by using the DataServiceContext object. | |
DataNamespace | Obsolete. Gets or sets the XML namespace for data items, not metadata items, of an Atom payload. | |
Entities | Gets a list of all the resources currently being tracked by the DataServiceContext. | |
HttpStack | Gets a value that indicates the type of HTTP implementation to use when accessing the data service.Supported only by the WCF Data Services 5.0 client for Silverlight. | |
IgnoreMissingProperties | Gets or sets whether the properties read from the type must be mapped to properties on the client-side type. | |
IgnoreResourceNotFoundException | Gets or sets whether an exception is raised when a 404 error (resource not found) is returned by the data service. | |
Links | Gets the collection of all associations or links currently being tracked by the DataServiceContext object. | |
MaxProtocolVersion | Gets the maximum version of the Open Data Protocol (OData) that the client is allowed to use. | |
MergeOption | Gets or sets the synchronization option for receiving entities from a data service. | |
ResolveEntitySet | Gets or sets the delegate method that is used to resolve the entity set URI when the value cannot be determined from an edit-link or self-link URI. | |
ResolveName | Gets or sets a function to override the default type resolution strategy used by the client library when you send entities to a data service. | |
ResolveType | Gets or sets a function that is used to override the default type resolution option that is used by the client library when receiving entities from a data service. | |
SaveChangesDefaultOptions | Gets or sets the SaveChangesOptions values that are used by the SaveChanges method. | |
Timeout | Gets or sets the time-out option (in seconds) that is used for the underlying HTTP request to the data service. | |
TypeScheme | Obsolete. Gets or sets the URI used to indicate what type scheme is used by the service. | |
UseDefaultCredentials | Gets or sets whether default credentials are used to authenticate requests to the data service. Supported only by the WCF Data Services 5.0 client for Silverlight. | |
UsePostTunneling | Gets or sets a Boolean value that indicates whether to use post tunneling. |
Top