SqlEditor DbConnection Property CleanCode C# Libraries v1.2.03 API
Gets the current database connection.

Namespace: CleanCode.SqlEditorControls
Assembly: CleanCode.SqlEditorControls (in CleanCode.SqlEditorControls.dll) Version: 1.2.3.0 (1.2.03)
Syntax

public ConnectionDetails DbConnection { get; }

Field Value

The DB connection.
Remarks

The user has a dropdown that presents a user-defined list of database connections. This property returns all the details (username, server, database, etc.) of the currently selected one. See DbConnectionName to get just the name of the connection.
See Also