DbDetails GetDatabaseEnumeratorQuery Method (ConnectionStringManager DBTypes)CleanCode C# Libraries v1.2.03 API
Gets a query to enumerate non-system databases for the current database type.

Namespace: CleanCode.DatabaseControls.Support
Assembly: CleanCode.DatabaseControls (in CleanCode.DatabaseControls.dll) Version: (1.2.03)

public static string GetDatabaseEnumeratorQuery(
	ConnectionStringManager..::..DBTypes dbType

Return Value

A SQL query in the appropriate dialect; otherwise, null.

If a query is defined, then the given database type has the notion of multiple databases for a given server, e.g. SQL Server or MySql. A notable one that does not is Oracle.
See Also