Class RelationTypeSave
Namespace: Umbraco.Cms.Core.Models.ContentEditing
Assembly: Umbraco.Core.dll
Syntax
[DataContract(Name = "relationType", Namespace = "")]
public class RelationTypeSave : EntityBasic
Properties
View SourceChildObjectType
Gets or sets the child object type ID.
Declaration
[DataMember(Name = "childObjectType", IsRequired = false)]
public Guid? ChildObjectType { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Guid> |
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 |
ParentObjectType
Gets or sets the parent object type ID.
Declaration
[DataMember(Name = "parentObjectType", IsRequired = false)]
public Guid? ParentObjectType { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Guid> |