Export (0) Print
Expand All

DataServiceContext Properties

The DataServiceContext type exposes the following members.

  Name Description
Public property ApplyingChanges Gets a value that indicates whether the DataServiceContext is currently applying changes to tracked objects.
Public property BaseUri Gets the absolute URI identifying the root of the target data service.
Public property Credentials Gets or sets the authentication information that is used when you send a request to the data service.
Public property DataNamespace Gets or sets the XML namespace for data items, not metadata items, of an Atom payload.
Public property Entities Gets a list of all the resources currently being tracked by the DataServiceContext.
Public property HttpStack Gets a value that indicates the type of HTTP implementation to use when accessing the data service.
Public property IgnoreMissingProperties Gets or sets whether the properties read from the type must be mapped to properties on the client-side type.
Public property IgnoreResourceNotFoundException Gets or sets whether an exception is raised when a 404 error (resource not found) is returned by the data service.
Public property Links Gets the collection of all associations or links currently being tracked by the DataServiceContext object.
Public property MergeOption Gets or sets the synchronization option for receiving entities from a data service.
Public property ResolveName Gets or sets a function to override the default type resolution strategy used by the client library when sending entities to a data service.
Public property 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.
Public property SaveChangesDefaultOptions Gets or sets the SaveChangesOptions values used by the BeginSaveChanges method.
Public property TypeScheme Gets or sets the URI that is used to indicate what type scheme is used by the service.
Public property UseDefaultCredentials Gets or sets whether default credentials are used to authenticate requests to the data service.
Public property UsePostTunneling Gets or sets a Boolean value that indicates whether to use post tunneling.
Top

Community Additions

ADD
Show:
© 2014 Microsoft