What problem does it solve?
BeepDM users need a centralized, configurable model to define and manage all datasource connections across local, remote, file-based, in-memory, and web API sources. This skill documents the ConnectionProperties class, its fields, and how to filter and validate connections to streamline configuration and runtime behavior.
Core Features & Use Cases
- Central configuration model: ConnectionProperties stores IDs, host/port, credentials, file paths, and driver metadata used by BeepDM to connect to diverse sources.
- Filtering & classification: feature flags (IsLocal, IsRemote, IsFile, IsDatabase, IsInMemory, etc.) support efficient slicing of connections for management and runtime routing.
- Driver linkage & connection string handling: demonstrates linking to drivers and assembling connection strings, plus authentication and SSL options.
- Practical examples: creating local file-based connections, remote database connections, and web API connections with appropriate flags and credentials.
Quick Start
Create a local file-based BeepDM connection by initializing a ConnectionProperties object, set IsLocal, IsFile, and IsDatabase, provide FilePath and FileName, then resolve and assign a driver with ConnectionHelper.GetBestMatchingDriver, and add it to editor.ConfigEditor.