SettingsHelper Class |
Namespace: CMS.Base
public static class SettingsHelper
The SettingsHelper type exposes the following members.
Name | Description | |
---|---|---|
AllowLocalConfigKeys |
If true, local configuration keys are allowed within the application
| |
AllowUpdateTimeStamps |
If true, time stamp update of the objects is allowed.
| |
AppSettings |
AppSettings collection.
| |
ConnectionStrings |
ConnectionStrings collection.
| |
LoadObjectsWithReader |
Load the objects with the data reader?
|
Name | Description | |
---|---|---|
RemoveConfigValue |
Remove the specified key from the AppSettings section for web application.
| |
RemoveConnectionString |
Removes connection string from web.config.
| |
SetConfigValue |
Sets or adds the specified key to the AppSettings section for web application.
| |
SetConnectionString |
Sets or adds the specified connection string in the ConnectionStrings section for web application.
|