Click or drag to resize

AdoDataConnection(IDbConnection, Type, Boolean) Constructor

Creates a new AdoDataConnection from specified connection and adapterType.

Namespace: GSF.Data
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
public AdoDataConnection(
	IDbConnection connection,
	Type adapterType,
	bool disposeConnection
)
View Source

Parameters

connection  IDbConnection
The database connection.
adapterType  Type
The ADO type used to load data into DataTables.
disposeConnection  Boolean
True if the database connection should be closed when the AdoDataConnection is disposed; false otherwise.
See Also