SaaS CMS has officially launched! Learn more now.

Class NodeEntryRelation

Links an entry (defined by Child) to a category (defined by Parent).

Inheritance
System.Object
NodeEntryRelation
Implements
EPiServer.Data.Entity.IReadOnly<Relation>
EPiServer.Data.Entity.IReadOnly<NodeRelation>
EPiServer.Data.Entity.IReadOnly<NodeEntryRelation>
EPiServer.Data.Entity.IReadOnly
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Commerce.Catalog.Linking
Assembly: EPiServer.Business.Commerce.dll
Version: 11.8.3
Syntax
public class NodeEntryRelation : NodeRelation, IReadOnly<Relation>, IReadOnly<NodeRelation>, IReadOnly<NodeEntryRelation>, IReadOnly

Constructors

NodeEntryRelation()

Declaration
public NodeEntryRelation()

Properties

IsPrimary

Gets or sets if this node entry relation is primary or not.

Declaration
public bool IsPrimary { get; set; }
Property Value
Type Description
System.Boolean
Remarks

Only one, or none NodeEntryRelation of an entry can be set as primary. If a new NodeEntryRelation is set as primary, it will take over the current primary one (if any).

Methods

CreateWritableClone()

Creates a writable copy of the current object.

Declaration
public NodeEntryRelation CreateWritableClone()
Returns
Type Description
NodeEntryRelation

A writable copy of the current object.

Remarks

The cloning is a deep-copy.

CreateWritableCloneImplementation()

Implements the deep clone. Override to add any operations not handled by the base implementation (which includes a shallow copy by MemberwiseClone).

Declaration
protected override Relation CreateWritableCloneImplementation()
Returns
Type Description
Relation

A cloned instance in read-write mode.

Overrides

Implements

EPiServer.Data.Entity.IReadOnly<>
EPiServer.Data.Entity.IReadOnly<>
EPiServer.Data.Entity.IReadOnly<>
EPiServer.Data.Entity.IReadOnly