RtEntity
Namespace: Meshmakers.Octo.Runtime.Contracts.RepositoryEntities
Represents the runtime entity, the instance of a construction kit type.
public class RtEntity : RtTypeWithAttributes
Inheritance Object → RtTypeWithAttributes → RtEntity
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
RtChangedDateTime
Returns the last change date time
public Nullable<DateTime> RtChangedDateTime { get; set; }
Property Value
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
RtVersion
Gets or sets the runtime version, which is used to detect changes of the entity
public ulong RtVersion { get; set; }
Property Value
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()