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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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