InterfaceISettingsStorage
Interface defining storage operations for database connection settings in the WebReportDesigner system.
Definition
Namespace:Telerik.WebReportDesigner.Services
Assembly:Telerik.WebReportDesigner.Services.dll
Syntax:
public interface ISettingsStorage
Methods
AddConnection(ConnectionInfo)
Adds a new database connection to the user's configuration storage.
Declaration
void AddConnection(ConnectionInfo connectionInfo)
Parameters
connectionInfo
The connection information to add to the storage.
Remarks
Persists the connection information to user-specific settings, making it available for future WebReportDesigner sessions and data source configurations without modifying application-level configuration files.
GetConnections()
Retrieves all database connections from the configuration storage.
Declaration
IEnumerable<ConnectionInfo> GetConnections()
Returns
IEnumerable<ConnectionInfo>
A list of all connection string present in the project configuration.
Remarks
Combines connections from application configuration files with user-specific settings to provide a unified view of all available database connections for data source configuration in the WebReportDesigner.