Class CoreAttributes
Defines the core properties injected into each modelled entity
public static class CoreAttributes
- Inheritance
-
CoreAttributes
- Inherited Members
Remarks
Not used internally - this is only in The.Model so that the runtime and its templates can be kept in sync
Fields
ACTIVE_ID
public static readonly Guid ACTIVE_ID
Field Value
ACTIVE_INDEX
public const int ACTIVE_INDEX = 0
Field Value
CREATED_BY_ID
public static readonly Guid CREATED_BY_ID
Field Value
CREATED_BY_INDEX
public const int CREATED_BY_INDEX = 1
Field Value
CREATED_ON_ID
public static readonly Guid CREATED_ON_ID
Field Value
CREATED_ON_INDEX
public const int CREATED_ON_INDEX = 2
Field Value
ID_ID
public static readonly Guid ID_ID
Field Value
ID_INDEX
public const int ID_INDEX = 3
Field Value
MODIFIED_BY_ID
public static readonly Guid MODIFIED_BY_ID
Field Value
MODIFIED_BY_INDEX
public const int MODIFIED_BY_INDEX = 4
Field Value
MODIFIED_ON_ID
public static readonly Guid MODIFIED_ON_ID
Field Value
MODIFIED_ON_INDEX
public const int MODIFIED_ON_INDEX = 5
Field Value
TEXT_ID
public static readonly Guid TEXT_ID
Field Value
TEXT_INDEX
public const int TEXT_INDEX = 6
Field Value
VERSION_ID
public static readonly Guid VERSION_ID
Field Value
VERSION_INDEX
public const int VERSION_INDEX = 7
Field Value
Methods
Count()
public static int Count()
Returns
ForEntity(EntitySnapshot)
public static IReadOnlyList<AttributeSnapshot> ForEntity(EntitySnapshot entity)
Parameters
entityEntitySnapshot
Returns
ForEntity(EntitySnapshot, Cache)
Use this variant if you want to compare AttributeSnapshot instances between multiple calls and to avoid repeatedly regenerating the snapshots for the same entity.
public static IReadOnlyList<AttributeSnapshot> ForEntity(EntitySnapshot entity, CoreAttributes.Cache cache)
Parameters
entityEntitySnapshotcacheCoreAttributes.Cache