Class NodeRelation
Implements
EPiServer.Data.Entity.IReadOnly<Relation>
EPiServer.Data.Entity.IReadOnly<NodeRelation>
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: 13.30.0Syntax
public class NodeRelation : Relation, IReadOnly<Relation>, IReadOnly<NodeRelation>, IReadOnly
Constructors
NodeRelation()
Declaration
public NodeRelation()
Properties
AllowedChildTypes
Returns CatalogEntry and CatalogNode as the valid types for Child.
Declaration
protected override CatalogContentType[] AllowedChildTypes { get; }
Property Value
Type | Description |
---|---|
CatalogContentType[] |
Overrides
AllowedParentTypes
Returns CatalogNode as the valid type for Parent.
Declaration
protected override CatalogContentType[] AllowedParentTypes { get; }
Property Value
Type | Description |
---|---|
CatalogContentType[] |
Overrides
SourceAccessor
Accesses Child.
Declaration
[Obsolete("This property is no longer used, use GetParents/GetChildren instead. Will remain at least until August 2019.")]
protected override ContentReference SourceAccessor { get; set; }
Property Value
Type | Description |
---|---|
EPiServer.Core.ContentReference |
Overrides
TargetAccessor
Accesses Parent.
Declaration
[Obsolete("This property is no longer used, use GetParents/GetChildren instead. Will remain at least until August 2019.")]
protected override ContentReference TargetAccessor { get; set; }
Property Value
Type | Description |
---|---|
EPiServer.Core.ContentReference |
Overrides
TargetCatalog
The catalog the relation belongs to, typically the same as Parent belongs to.
Declaration
public ContentReference TargetCatalog { get; set; }
Property Value
Type | Description |
---|---|
EPiServer.Core.ContentReference | The EPiServer.Core.ContentReference of the catalog (CatalogContent). |
Methods
CreateWritableClone()
Creates a writable copy of the current object.
Declaration
public NodeRelation CreateWritableClone()
Returns
Type | Description |
---|---|
NodeRelation | 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