Class FileSettingsStorage
Represents a database connections storage to resolve ConnectionStrings.
Inheritance
Namespace: Telerik.WebReportDesigner.Services
Assembly: Telerik.WebReportDesigner.Services.dll
Syntax
public class FileSettingsStorage : ISettingsStorage
Constructors
FileSettingsStorage(String)
Initializes a new instance of the FileSettingsStorage class with specified location for the designer settings file.
Declaration
public FileSettingsStorage(string settingsDirectory)
Parameters
System.String
settingsDirectory
The directory to keep the Web Report Designer settings |
Methods
AddConnection(ConnectionInfo)
Add connections current user application configuration file.
Declaration
public void AddConnection(ConnectionInfo connectionInfo)
Parameters
ConnectionInfo
connectionInfo
|
Implements
GetConnections()
Lists all connections found in the project configuration .
Declaration
public IEnumerable<ConnectionInfo> GetConnections()
Returns
System.Collections.Generic.IEnumerable<ConnectionInfo>
A list of all connection string present in the project configuration. |