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

Interface IContentTypeModelRegistrator

Component that will register a list of content type models

Namespace: EPiServer.DataAbstraction.RuntimeModel
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public interface IContentTypeModelRegistrator

Methods

RegisterTypes(IEnumerable<ContentTypeModel>, Boolean, Boolean)

Analyzes all models and registers the content types and their property definitions.

Declaration
void RegisterTypes(IEnumerable<ContentTypeModel> typeModels, bool deleteUnusedContentTypes, bool deleteUnusedPropertyDefinitions)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<ContentTypeModel> typeModels

List of all content type models that should be registered.

System.Boolean deleteUnusedContentTypes

If set to true any content types that are no longer used are deleted.

System.Boolean deleteUnusedPropertyDefinitions

If set to true any property definitions on that are no longer used are removed from the content type.

Extension Methods