[This is preliminary documentation and is subject to change.]
An interface for the application settings.
| C# | Visual Basic | Visual C++ |
public interface IApplicationSettings
Public Interface IApplicationSettings
public interface class IApplicationSettings
| All Members | Methods | Properties | Events | ||
| Icon | Member | Description |
|---|---|---|
| Connection |
Gets an instance of DbConnection depending on the value of
[!:ConnectionString] and [!:ProviderName].
| |
| ConnectionDefinition |
A reference to the current connection definiton class.
| |
| DatabaseConnectionReset |
Fired when the database connection (provider and/or connection string) are modified.
| |
| GetOpenConnection()()() |
Helper method to get an open connection.
| |
| GetPastConnectionStrings()()() |
Gets an array of the current connections for this user.
| |
| PastConnectionStringsChanged |
Fired when the list of connection strings is modified.
| |
| ProviderFactory |
Gets an instance of DbProviderFactory depending on the value of [!:ProviderName].
| |
| ResetConnection()()() |
Resets the connection details firing the DatabaseConnectionReset event.
| |
| SetPastConnectionStrings(array<ConnectionDefinition>[]()[]) |
Resets the list of connection strings that are stored in the user profile upon application exit.
|