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.181-beta
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