Class RelationTypeDisplay
Namespace: Umbraco.Cms.Core.Models.ContentEditing
Assembly: Umbraco.Core.dll
Syntax
[DataContract(Name = "relationType", Namespace = "")]
public class RelationTypeDisplay : EntityBasic, INotificationModel
Constructors
View SourceRelationTypeDisplay()
Declaration
public RelationTypeDisplay()
Properties
View SourceChildObjectType
Gets or sets the Child's object type id
Declaration
[DataMember(Name = "childObjectType", IsRequired = true)]
public Guid? ChildObjectType { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Guid> |
Remarks
Corresponds to the NodeObjectType in the umbracoNode table
ChildObjectTypeName
Gets or sets the Child's object type name.
Declaration
[DataMember(Name = "childObjectTypeName")]
public string ChildObjectTypeName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IsBidirectional
Gets or sets a boolean indicating whether the RelationType is Bidirectional (true) or Parent to Child (false)
Declaration
[DataMember(Name = "isBidirectional", IsRequired = true)]
public bool IsBidirectional { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsDependency
Gets or sets a boolean indicating whether the RelationType should be returned in "Used by"-queries.
Declaration
[DataMember(Name = "isDependency", IsRequired = true)]
public bool IsDependency { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsSystemRelationType
Declaration
[DataMember(Name = "isSystemRelationType")]
public bool IsSystemRelationType { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Notifications
This is used to add custom localized messages/strings to the response for the app to use for localized UI purposes.
Declaration
[DataMember(Name = "notifications")]
public List<BackOfficeNotification> Notifications { get; }
Property Value
Type | Description |
---|---|
List<BackOfficeNotification> |
ParentObjectType
Gets or sets the Parents object type id
Declaration
[DataMember(Name = "parentObjectType", IsRequired = true)]
public Guid? ParentObjectType { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Guid> |
Remarks
Corresponds to the NodeObjectType in the umbracoNode table
ParentObjectTypeName
Gets or sets the Parent's object type name.
Declaration
[DataMember(Name = "parentObjectTypeName")]
public string ParentObjectTypeName { get; set; }
Property Value
Type | Description |
---|---|
System.String |