View Source
  Interface IRelation
  
  
  
  
  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
  
  
    View Source
  
  
  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
  
  
    View Source
  
  RelationType
  
  
  Declaration
  
    [DataMember]
IRelationType RelationType { get; set; }
   
  Property Value
  
  
    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 |  |