This documentation is archived and is not being maintained.

DataContext Properties

The DataContext type exposes the following members.

Public property ChangeConflicts Returns a collection of objects that caused concurrency conflicts when SubmitChanges was called.
Public property CommandTimeout Increases the time-out period for queries that would otherwise time out during the default time-out period.
Public property Connection Returns the connection used by the framework.
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.
Public property Transaction Sets a local transaction for the .NET Framework to use to access the database.