Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

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
Namespace: EPiServer.Commerce.Catalog.Linking
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0
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