This documentation is archived and is not being maintained.
DataContext Properties
Visual Studio 2010
The DataContext type exposes the following members.
| Name | Description | |
|---|---|---|
|
ChangeConflicts | Returns a collection of objects that caused concurrency conflicts when SubmitChanges was called. |
|
CommandTimeout | Increases the time-out period for queries that would otherwise time out during the default time-out period. |
|
Connection | Returns the connection used by the framework. |
|
DeferredLoadingEnabled | Specifies whether to delay-load one-to-many or one-to-one relationships. |
|
LoadOptions | Gets or sets the DataLoadOptions associated with this DataContext. |
|
Log | Specifies the destination to write the SQL query or command. |
|
Mapping | Returns the MetaModel on which the mapping is based. |
|
ObjectTrackingEnabled | Instructs the framework to track the original value and object identity for this DataContext. |
|
Transaction | Sets a local transaction for the .NET Framework to use to access the database. |
Show: