Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IRelation

    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IRelation : IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty

    Properties

    View Source

    ChildId

    Gets or sets the Child Id of the Relation (Destination)

    Declaration
    [DataMember]
    int ChildId { get; set; }
    Property Value
    Type Description
    System.Int32
    View Source

    ChildObjectType

    Declaration
    [DataMember]
    Guid ChildObjectType { get; set; }
    Property Value
    Type Description
    Guid
    View Source

    Comment

    Gets or sets a comment for the Relation

    Declaration
    [DataMember]
    string Comment { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    ParentId

    Gets or sets the Parent Id of the Relation (Source)

    Declaration
    [DataMember]
    int ParentId { get; set; }
    Property Value
    Type Description
    System.Int32
    View Source

    ParentObjectType

    Declaration
    [DataMember]
    Guid ParentObjectType { get; set; }
    Property Value
    Type Description
    Guid
    View Source

    RelationType

    Gets or sets the RelationType for the Relation

    Declaration
    [DataMember]
    IRelationType RelationType { get; set; }
    Property Value
    Type Description
    IRelationType
    View Source

    RelationTypeId

    Gets the Id of the RelationType that this Relation is based on.

    Declaration
    [IgnoreDataMember]
    int RelationTypeId { get; }
    Property Value
    Type Description
    System.Int32
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX