.NET Framework Class Library
DataContext Constructor

Initializes a new instance of the DataContext class.

Overload List

  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
See Also

Reference

Tags :


Page view tracker