Class SiteDefinitionDB
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Inheritance
System.Object
SiteDefinitionDB
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.DataAccess
Assembly: EPiServer.dll
Version: 9.12.2Syntax
[ServiceConfiguration(typeof(SiteDefinitionDB))]
public class SiteDefinitionDB
Constructors
SiteDefinitionDB(ServiceAccessor<IDatabaseHandler>)
Declaration
public SiteDefinitionDB(ServiceAccessor<IDatabaseHandler> databaseHandler)
Parameters
Type | Name | Description |
---|---|---|
ServiceAccessor<IDatabaseHandler> | databaseHandler |
Methods
Delete(Guid)
Declaration
public virtual bool Delete(Guid siteId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | siteId |
Returns
Type | Description |
---|---|
System.Boolean |
List()
Declaration
public virtual IEnumerable<SiteDefinition> List()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<SiteDefinition> |
Save(SiteDefinition)
Declaration
public virtual void Save(SiteDefinition site)
Parameters
Type | Name | Description |
---|---|---|
SiteDefinition | site |