DataContext Properties

DataContext Properties

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The DataContext type exposes the following members.

  NameDescription
Public property ChangeConflicts Returns a collection of objects that caused concurrency conflicts when SubmitChanges was called.
Public property DeferredLoadingEnabled Specifies whether to delay-load one-to-many or one-to-one relationships.
Public property LoadOptions Gets or sets the DataLoadOptions associated with this DataContext.
Public property Log Specifies the destination to write the SQL query or command.
Public property Mapping Returns the MetaModel on which the mapping is based.
Public property ObjectTrackingEnabled Instructs the framework to track the original value and object identity for this DataContext.
Top

Show:
© 2017 Microsoft