Class PageTypesDB
Help to get page type directly from tblapage.
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.MirroringService.DataAccess
Assembly: EPiServer.Enterprise.dll
Version: 8.11.0Syntax
[ServiceConfiguration(typeof(PageTypesDB))]
public class PageTypesDB : DataAccessBase
Remarks
If the tblpage and pagepath has been changed this class should be modified .
Constructors
PageTypesDB(IDatabaseHandler, PageTypeRepository)
Initializes a new instance of the PageTypesDB class.
Declaration
public PageTypesDB(IDatabaseHandler databaseHandler, PageTypeRepository pageTypeRepository)
Parameters
Type | Name | Description |
---|---|---|
IDatabaseHandler | databaseHandler | The database handler. |
PageTypeRepository | pageTypeRepository | The page type repository. |
Methods
GetDescendantPageTypes(ContentReference)
Gets the descendant page types.
Declaration
public PageTypeCollection GetDescendantPageTypes(ContentReference contentLink)
Parameters
Type | Name | Description |
---|---|---|
ContentReference | contentLink | The content link. |
Returns
Type | Description |
---|---|
PageTypeCollection |