Try our conversational search powered by Generative AI!

Class ContentModelOptions

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Contains various options that can be used to configure how the content model should be handled during synchronization.

Inheritance
System.Object
ContentModelOptions
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.DataAbstraction.RuntimeModel.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
[Options]
public class ContentModelOptions

Constructors

ContentModelOptions()

Declaration
public ContentModelOptions()

Properties

AlwaysUseModelName

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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