Export (0) Print
Expand All

DataContext Properties

The DataContext type exposes the following members.

  Name Description
Public property ChangeConflicts Gets a collection of objects that caused concurrency conflicts when SubmitChanges was called.
Public property CommandTimeout Gets or sets a value that increases the time-out period for queries that would otherwise time out during the default time-out period.
Public property Connection Gets the connection used by the framework.
Public property DeferredLoadingEnabled Gets or sets a value that indicates 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 Gets or sets the destination to write the SQL query or command.
Public property Mapping Gets the MetaModel on which the mapping is based.
Public property ObjectTrackingEnabled Gets or sets a value that indicates whether object tracking is enabled.
Public property Transaction Gets or sets a local transaction for the .NET Framework to use to access the database.
© 2015 Microsoft