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.241-beta+912389e96d98840d2a999d490420db618dcbe4c6
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