Upgrade your Internet Experience
United States - English
Argentina (Español)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
中国 (简体中文)
Colombia (Español)
Deutschland (Deutsch)
España (Español)
France (Français)
India (English)
Italia (Italiano)
日本 (日本語)
México (Español)
Perú (Español)
Россия (Pусский)
United Kingdom (English)
United States (English)
More...
Microsoft.com
Welcome
Sign in
.NET Framework Developer Center
Home
Library
Learn
Downloads
Support
Community
Forums
Printer Friendly Version
Send
Add Content...
Click to Rate and Give Feedback
Give feedback on this content
MSDN Library
MSDN
Please Wait
MSDN Library
Please Wait
.NET Development
Please Wait
.NET Framework 3.5
Please Wait
.NET Framework Class Library
Please Wait
System.Data.Linq Namespace
Please Wait
DataContext Class
Please Wait
DataContext Properties
Please Wait
Switch on low bandwidth view
Collapse All
Members Filter
Include Protected Members
Include Inherited Members
Frameworks Filter
Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5
Other versions are also available for the following:
Microsoft Visual Studio 2010/.NET Framework 4.0
.NET Framework Class Library
DataContext Properties
The
DataContext
type exposes the following members.
Properties
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.
Top
See Also
Reference
DataContext Class
System.Data.Linq Namespace
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
Community Content
Add new content
Annotations
|
Edit
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
© 2009 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement