Skip to main content

RtEntity

Namespace: Meshmakers.Octo.Runtime.Contracts.RepositoryEntities

Represents the runtime entity, the instance of a construction kit type.

public class RtEntity : RtTypeWithAttributes

Inheritance ObjectRtTypeWithAttributesRtEntity

Properties

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

RtEntity()

Creates a new instance of RtEntity

public RtEntity()

RtEntity(CkId<CkTypeId>, OctoObjectId)

Creates a new instance of RtEntity

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

Parameters

ckTypeId CkId<CkTypeId>
Construction kit type id

rtId OctoObjectId
Object id

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

Creates a new instance of RtEntity

public RtEntity(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

Methods

GetLocation()

protected string GetLocation()

Returns

String