Gets the base database type.
If the defined type is ODBC,
the ODBC connection is probed to determine if the underlying
connection resolves to an actual database type,
enumerated by ConnectionStringManager DBTypes.
Namespace: CleanCode.DatabaseControls.SupportAssembly: CleanCode.DatabaseControls (in CleanCode.DatabaseControls.dll) Version: 1.2.3.0 (1.2.03)
Syntax
public static ConnectionStringManager..::..DBTypes GetBaseDbType( ConnectionStringManager..::..DBTypes dbType, string dsnDriver )
Parameters
- dbType
- Type: CleanCode.DatabaseControls ConnectionStringManager DBTypes
The database type.
- dsnDriver
- Type:
System String
The DSN driver name.
Return Value
The underlying database type for an ODBC connection; otherwise, the actual database type.See Also