Interface IRelationType
Namespace: Umbraco.Cms.Core.Models
Assembly: Umbraco.Core.dll
Syntax
public interface IRelationType : IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirtyProperties
View SourceAlias
Gets or sets the Alias of the RelationType
Declaration
[DataMember]
string Alias { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | 
ChildObjectType
Gets or sets the Childs object type id
Declaration
[DataMember]
Guid? ChildObjectType { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Nullable<Guid> | 
Remarks
Corresponds to the NodeObjectType in the umbracoNode table
IsBidirectional
Gets or sets a boolean indicating whether the RelationType is Bidirectional (true) or Parent to Child (false)
Declaration
[DataMember]
bool IsBidirectional { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Name
Gets or sets the Name of the RelationType
Declaration
[DataMember]
string Name { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | 
ParentObjectType
Gets or sets the Parents object type id
Declaration
[DataMember]
Guid? ParentObjectType { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Nullable<Guid> | 
Remarks
Corresponds to the NodeObjectType in the umbracoNode table