Class SiteConfigDB
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Inherited Members
Namespace: EPiServer.DataAccess.Internal
Assembly: EPiServer.dll
Version: 11.20.7Syntax
[ServiceConfiguration]
public class SiteConfigDB : DataAccessBase
Constructors
SiteConfigDB(IDatabaseExecutor)
Declaration
public SiteConfigDB(IDatabaseExecutor databaseHandler)
Parameters
Type | Name | Description |
---|---|---|
IDatabaseExecutor | databaseHandler |
Methods
DeleteValue(String, String)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Deletes a value for a specific site This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public void DeleteValue(string siteId, string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | siteId | |
System.String | name |
GetValue(String, String)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets a value for a specific site This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public string GetValue(string siteId, string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | siteId | |
System.String | name |
Returns
Type | Description |
---|---|
System.String | The value for the site and name requested |
GetValues(String)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Get a value for a sites registered This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public IDictionary<string, string> GetValues(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.String> | A DataTable containing rows for the property requested (see tblSiteConfig for column definitions) |
SetValue(String, String, String)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Sets a value for a specific site This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public void SetValue(string siteId, string name, string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | siteId | |
System.String | name | |
System.String | value |
SetValue(String, String, String, Boolean)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Sets a value for a specific site This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public void SetValue(string siteId, string name, string value, bool compressData)
Parameters
Type | Name | Description |
---|---|---|
System.String | siteId | The site id. |
System.String | name | The name. |
System.String | value | The value. |
System.Boolean | compressData | if set to |