Class SiteDefinitionDB
Inheritance
System.Object
SiteDefinitionDB
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
[ServiceConfiguration]
public class SiteDefinitionDB : Object
Constructors
SiteDefinitionDB(ServiceAccessor<IDatabaseExecutor>, DatabaseDateTimeHandler)
Declaration
public SiteDefinitionDB(ServiceAccessor<IDatabaseExecutor> databaseHandler, DatabaseDateTimeHandler databaseDateTimeHandler)
Parameters
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
Extension Methods