Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
DataContext Class

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
DataContext Constructor

Initializes a new instance of the DataContext class.

  NameDescription
Public methodDataContext(IDbConnection)Initializes a new instance of the DataContext class by referencing the connection used by the .NET Framework.
Public methodDataContext(String)Initializes a new instance of the DataContext class by referencing a file source.
Public methodDataContext(IDbConnection, MappingSource)Initializes a new instance of the DataContext class by referencing a connection and a mapping source.
Public methodDataContext(String, MappingSource)Initializes a new instance of the DataContext class by referencing a file source and a mapping source.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker