Export (0) Print
Expand All

DataServiceContext Properties

The DataServiceContext type exposes the following members.

  NameDescription
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 by each query created by using the DataServiceContext object.
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 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 you send 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 that are used by the SaveChanges method.
Public property Timeout Gets or sets the time-out option that is used for the underlying HTTP request to the data service.
Public property TypeScheme Gets or sets the URI used to indicate what type scheme is used by the service.
Public property UsePostTunneling Gets or sets a Boolean value that indicates whether to use post tunneling.
Top

Community Additions

ADD
Show:
© 2014 Microsoft