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.240-beta+897dce54fc8a4a27d3c8972aabbe9a3d48c9c170
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