Try our conversational search powered by Generative AI!

Class PageTypesDB

Help to get page type directly from tblapage.

Inheritance
System.Object
PageTypesDB
Namespace: EPiServer.MirroringService.DataAccess
Assembly: EPiServer.Enterprise.dll
Version: 8.11.0
Syntax
[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

Extension Methods