Skip to main content

RtEntityGraphItem

Namespace: Meshmakers.Octo.Runtime.Contracts.Repositories

public class RtEntityGraphItem : RtEntity

Inheritance ObjectRtTypeWithAttributesRtEntityRtEntityGraphItem

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>

CkTypeId

Gets or sets the construction kit id

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

Property Value

CkId<CkTypeId>

RtWellKnownName

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

public string RtWellKnownName { 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

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(CkId<CkTypeId>, OctoObjectId)

Creates a new instance of RtEntityGraphItem

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

Parameters

ckTypeId CkId<CkTypeId>
Construction kit type id

rtId OctoObjectId
Object id

RtEntityGraphItem(CkId<CkTypeId>, OctoObjectId, IReadOnlyDictionary<String, Object>)

Creates a new instance of RtEntityGraphItem

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

Parameters

ckTypeId CkId<CkTypeId>
Construction kit type id

rtId OctoObjectId
Object id

attributes IReadOnlyDictionary<String, Object>
List of attributes

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

Creates a new instance of RtEntityGraphItem

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

Parameters

ckTypeId CkId<CkTypeId>
Construction kit type id

rtId OctoObjectId
Object id

attributes IReadOnlyDictionary<String, Object>
List of attributes

associations List<NavigationEnd>
List of associations