DbDetails GetBaseDbType Method CleanCode C# Libraries v1.2.03 API
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.Support
Assembly: CleanCode.DatabaseControls (in CleanCode.DatabaseControls.dll) Version: (1.2.03)

public static ConnectionStringManager..::..DBTypes GetBaseDbType(
	ConnectionStringManager..::..DBTypes dbType,
	string dsnDriver

Return Value

The underlying database type for an ODBC connection; otherwise, the actual database type.
See Also