Table of Contents

Class CoreAttributes

Namespace
The.Model
Assembly
Instagile.Model.dll

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

Guid

ACTIVE_INDEX

public const int ACTIVE_INDEX = 0

Field Value

int

CREATED_BY_ID

public static readonly Guid CREATED_BY_ID

Field Value

Guid

CREATED_BY_INDEX

public const int CREATED_BY_INDEX = 1

Field Value

int

CREATED_ON_ID

public static readonly Guid CREATED_ON_ID

Field Value

Guid

CREATED_ON_INDEX

public const int CREATED_ON_INDEX = 2

Field Value

int

ID_ID

public static readonly Guid ID_ID

Field Value

Guid

ID_INDEX

public const int ID_INDEX = 3

Field Value

int

MODIFIED_BY_ID

public static readonly Guid MODIFIED_BY_ID

Field Value

Guid

MODIFIED_BY_INDEX

public const int MODIFIED_BY_INDEX = 4

Field Value

int

MODIFIED_ON_ID

public static readonly Guid MODIFIED_ON_ID

Field Value

Guid

MODIFIED_ON_INDEX

public const int MODIFIED_ON_INDEX = 5

Field Value

int

TEXT_ID

public static readonly Guid TEXT_ID

Field Value

Guid

TEXT_INDEX

public const int TEXT_INDEX = 6

Field Value

int

VERSION_ID

public static readonly Guid VERSION_ID

Field Value

Guid

VERSION_INDEX

public const int VERSION_INDEX = 7

Field Value

int

Methods

Count()

public static int Count()

Returns

int

ForEntity(EntitySnapshot)

public static IReadOnlyList<AttributeSnapshot> ForEntity(EntitySnapshot entity)

Parameters

entity EntitySnapshot

Returns

IReadOnlyList<AttributeSnapshot>

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

entity EntitySnapshot
cache CoreAttributes.Cache

Returns

IReadOnlyList<AttributeSnapshot>