Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DataContext Constructor

Initializes a new instance of the DataContext class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method DataContext(IDbConnection) Initializes a new instance of the DataContext class by referencing the connection used by the .NET Framework.
Public method DataContext(String) Initializes a new instance of the DataContext class by referencing a file source.
Public method DataContext(IDbConnection, MappingSource) Initializes a new instance of the DataContext class by referencing a connection and a mapping source.
Public method DataContext(String, MappingSource) Initializes a new instance of the DataContext class by referencing a file source and a mapping source.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.