Search Results for

    Show / Hide Table of Contents
    View Source

    Class RelationTypeDisplay

    Inheritance
    System.Object
    EntityBasic
    Namespace: Umbraco.Cms.Core.Models.ContentEditing
    Assembly: Umbraco.Core.dll
    Syntax
    [DataContract(Name = "relationType", Namespace = "")]
    public class RelationTypeDisplay : EntityBasic, INotificationModel

    Constructors

    View Source

    RelationTypeDisplay()

    Declaration
    public RelationTypeDisplay()

    Properties

    View Source

    ChildObjectType

    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

    View Source

    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
    View Source

    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
    View Source

    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
    View Source

    IsSystemRelationType

    Declaration
    [DataMember(Name = "isSystemRelationType")]
    public bool IsSystemRelationType { get; set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    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>
    View Source

    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

    View Source

    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
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • RelationTypeDisplay()
    • Properties
      • ChildObjectType
      • ChildObjectTypeName
      • IsBidirectional
      • IsDependency
      • IsSystemRelationType
      • Notifications
      • ParentObjectType
      • ParentObjectTypeName
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX