Class ContentTypesDB
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(ContentTypesDB))]
public class ContentTypesDB : DataAccessBase
Remarks
If the tblpage and contentpath has been changed this class should be modified .
Constructors
ContentTypesDB(IDatabaseHandler, IContentTypeRepository)
Initializes a new instance of the PageTypesDB class.
Declaration
public ContentTypesDB(IDatabaseHandler databaseHandler, IContentTypeRepository contentTypeRepository)
Parameters
Type | Name | Description |
---|---|---|
IDatabaseHandler | 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> |