Zum Hauptinhalt springen

RtEntityGraphItem

Namespace: Meshmakers.Octo.Runtime.Contracts.Repositories

public class RtEntityGraphItem : RtEntity

Inheritance Object → RtTypeWithAttributes → RtEntity → RtEntityGraphItem

Properties​

Associations​

Gets or sets the associations of the entity

public List<NavigationEnd> Associations { get; set; }

Property Value​

List<NavigationEnd>

RtId​

Gets or sets the runtime id

public OctoObjectId RtId { get; set; }

Property Value​

OctoObjectId

RtCreationDateTime​

Returns the creation date time

public Nullable<DateTime> RtCreationDateTime { get; set; }

Property Value​

Nullable<DateTime>

RtChangedDateTime​

Returns the last change date time

public Nullable<DateTime> RtChangedDateTime { get; set; }

Property Value​

Nullable<DateTime>

RtArchivedDateTime​

Returns the time the entity was archived

public Nullable<DateTime> RtArchivedDateTime { get; set; }

Property Value​

Nullable<DateTime>

CkTypeId​

Gets or sets the construction kit id

public RtCkId<CkTypeId> CkTypeId { get; set; }

Property Value​

RtCkId<CkTypeId>

RtWellKnownName​

Returns the well-known name to access well-known entities in a faster way

public string RtWellKnownName { get; set; }

Property Value​

String

RtCreatedBy​

Subject id of the identity that created the entity. Stamped by the engine on insert from the session's security context; immutable afterwards (partial updates never touch it, replaces preserve the stored value). Null for entities created by system/internal callers or before the field existed.

public string RtCreatedBy { get; set; }

Property Value​

String

RtDisplayName​

Engine-computed display name, evaluated from the CK type's displayNameRule on save. Read-only for API consumers; null when the type has no rule or every referenced attribute is empty (readers fall back to "ckTypeId@rtId").

public string RtDisplayName { get; set; }

Property Value​

String

RtDisplayDescription​

Engine-computed display description, evaluated from the CK type's displayDescriptionRule on save. Read-only for API consumers.

public string RtDisplayDescription { get; set; }

Property Value​

String

RtVersion​

Gets or sets the runtime version, which is used to detect changes of the entity

public ulong RtVersion { get; set; }

Property Value​

UInt64

RtState​

Gets or sets the state of the entity

public Nullable<RtState> RtState { get; set; }

Property Value​

Nullable<RtState>

Attributes​

Returns a dictionary of attributes.

public IReadOnlyDictionary<string, object> Attributes { get; }

Property Value​

IReadOnlyDictionary<String, Object>

Remarks:

Vor getting/setting values use the GetAttribute/SetAttribute-Methods

Constructors​

RtEntityGraphItem()​

Creates a new instance of RtEntityGraphItem

public RtEntityGraphItem()

RtEntityGraphItem(RtCkId<CkTypeId>, OctoObjectId)​

Creates a new instance of RtEntityGraphItem

public RtEntityGraphItem(RtCkId<CkTypeId> ckTypeId, OctoObjectId rtId)

Parameters​

ckTypeId RtCkId<CkTypeId>
Construction kit type id

rtId OctoObjectId
Object id

RtEntityGraphItem(RtCkId<CkTypeId>, OctoObjectId, IReadOnlyDictionary<String, Object>)​

Creates a new instance of RtEntityGraphItem

public RtEntityGraphItem(RtCkId<CkTypeId> ckTypeId, OctoObjectId rtId, IReadOnlyDictionary<string, object> attributes)

Parameters​

ckTypeId RtCkId<CkTypeId>
Construction kit type id

rtId OctoObjectId
Object id

attributes IReadOnlyDictionary<String, Object>
List of attributes

RtEntityGraphItem(RtCkId<CkTypeId>, OctoObjectId, IReadOnlyDictionary<String, Object>, List<NavigationEnd>)​

Creates a new instance of RtEntityGraphItem

public RtEntityGraphItem(RtCkId<CkTypeId> ckTypeId, OctoObjectId rtId, IReadOnlyDictionary<string, object> attributes, List<NavigationEnd> associations)

Parameters​

ckTypeId RtCkId<CkTypeId>
Construction kit type id

rtId OctoObjectId
Object id

attributes IReadOnlyDictionary<String, Object>
List of attributes

associations List<NavigationEnd>
List of associations