Table of Contents

Class ObjectReference

Namespace
CMS.DataEngine
Assembly
CMS.DataEngine.dll

Represents a reference from one object type to another.

public class ObjectReference : AbstractDataContainer<ObjectReference>, IDataContainer, ISimpleDataContainer
Inheritance
object
ObjectReference
Implements
Derived
Inherited Members
Extension Methods

Constructors

ObjectReference(string, string)

Creates a new ObjectReference instance, defining a reference from one object type to another.

public ObjectReference(string dependencyColumn, string dependencyObjectType)

Parameters

dependencyColumn string

The name of the reference column that stores the IDs of the referenced objects

dependencyObjectType string

The object type that is the target of the reference

Properties

DependencyColumn

Gets or sets the name of the reference column that stores the IDs of the referenced objects.

[RegisterColumn]
public string DependencyColumn { get; }

Property Value

string

DependencyObjectType

Gets or sets the object type that is the target of the reference.

[RegisterColumn]
public string DependencyObjectType { get; }

Property Value

string