November Happy Hour will be moved to Thursday December 5th.

Class ContentTypesDB

Help to get page type directly from tblapage.

Inheritance
System.Object
ContentTypesDB
Namespace: EPiServer.MirroringService.DataAccess
Assembly: EPiServer.Enterprise.dll
Version: 10.10.4
Syntax
[ServiceConfiguration(typeof(ContentTypesDB))]
public class ContentTypesDB : DataAccessBase
Remarks

If the tblpage and contentpath has been changed this class should be modified .

Constructors

ContentTypesDB(IDatabaseExecutor, IContentTypeRepository)

Initializes a new instance of the ContentTypesDB class.

Declaration
public ContentTypesDB(IDatabaseExecutor databaseHandler, IContentTypeRepository contentTypeRepository)
Parameters
Type Name Description
IDatabaseExecutor databaseHandler

The database handler.

IContentTypeRepository contentTypeRepository

The content type repository.

Methods

GetDescendantContentTypes(ContentReference)

Gets the descendant page types.

Declaration
public IList<ContentType> GetDescendantContentTypes(ContentReference contentLink)
Parameters
Type Name Description
ContentReference contentLink

The content link.

Returns
Type Description
System.Collections.Generic.IList<ContentType>

Extension Methods