Interface ISettingsStorage
Interface defining storage operations for database connection settings in the WebReportDesigner system.
Namespace: Telerik.WebReportDesigner.Services
Assembly: Telerik.WebReportDesigner.Services.dll
Syntax
public interface ISettingsStorage
Remarks
Provides unified access to database connection strings from both application configuration files and user-specific settings, enabling centralized connection management for data source operations and reporting functionality.
Methods
AddConnection(ConnectionInfo)
Adds a new database connection to the user's configuration storage.
Declaration
void AddConnection(ConnectionInfo connectionInfo)
Parameters
|
ConnectionInfo
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
|
System.Collections.Generic.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.