Gets a DbDataAdapter for the specified database type,
determined by the ConnectionStringManager DBTypes enumeration.
Namespace: CleanCode.DatabaseControls.SupportAssembly: CleanCode.DatabaseControls (in CleanCode.DatabaseControls.dll) Version: 1.2.3.0 (1.2.03)
Syntax
public static DbDataAdapter GetDbDataAdapter( ConnectionStringManager..::..DBTypes dbType, DbConnection connection, string query )
Parameters
- dbType
- Type: CleanCode.DatabaseControls ConnectionStringManager DBTypes
The database type.
- connection
- Type: System.Data.Common DbConnection
The database connection.
- query
- Type: System String
The query text.
Return Value
An appropriate DbDataAdapter.See Also