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

Class ContentModelOptions

Contains various options that can be used to configure how the content model should be handled during synchronization.

Inheritance
System.Object
ContentModelOptions
Namespace: EPiServer.DataAbstraction.RuntimeModel.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
[Options(ConfigurationSection = "Cms")]
public class ContentModelOptions : Object

Constructors

ContentModelOptions()

Declaration
public ContentModelOptions()

Properties

AlwaysUseModelName

Specifies if the Model name of the class always should be the name of the content type

Declaration
public bool AlwaysUseModelName { get; set; }
Property Value
Type Description
System.Boolean
Remarks

The default value is false

EnableModelSyncCommit

Set to false to disable the commit phase when synchronizing typed models. Content types will not be updated automatically.

Declaration
public bool EnableModelSyncCommit { get; set; }
Property Value
Type Description
System.Boolean
Remarks

The default value is true

EnableSemanticVersioning

Set to true to enable semantic versioning of models.

Declaration
public bool EnableSemanticVersioning { get; set; }
Property Value
Type Description
System.Boolean
Remarks

The default value is false

Extension Methods