Table of Contents

Class EntityCalculationResult

Namespace
The.Import
Assembly
Instagile.dll

The outcome of recalculating one entity type.

public sealed class EntityCalculationResult
Inheritance
EntityCalculationResult
Inherited Members

Properties

ChangedAttributes

The number of entities whose recalculated value of each attribute differed from the stored value.

public IReadOnlyDictionary<string, int> ChangedAttributes { get; }

Property Value

IReadOnlyDictionary<string, int>

Elapsed

Time from the start of the first batch to the end of the last in each pass over the type, including time its batches spent queued behind other types'.

public TimeSpan Elapsed { get; }

Property Value

TimeSpan

FailedBatches

Batches which could not be loaded or saved, whose entities are unchanged.

public int FailedBatches { get; }

Property Value

int

Failures

Calculations and calculation hooks which threw, by attribute or hook and exception, with how many entities they failed for and the first of them.

public IReadOnlyDictionary<(string Attribute, string Exception), (int Count, Guid Example)> Failures { get; }

Property Value

IReadOnlyDictionary<(string Attribute, string Exception), (int Count, Guid Example)>

LazyLoads

The number of entities which each attribute's calculations, or each calculation hook, loaded rather than their batches, for lack of [CalculationDependency] declarations.

public IReadOnlyDictionary<string, int> LazyLoads { get; }

Property Value

IReadOnlyDictionary<string, int>

Passes

Passes over the type: more than one if it reads its own stored calculated values, directly or through other types.

public int Passes { get; }

Property Value

int

Processed

Entities recalculated in the latest pass, including any created since the recalculation began.

public int Processed { get; }

Property Value

int

Rows

Entities of the type when the recalculation began.

public int Rows { get; }

Property Value

int

Type

public IEntityInfo Type { get; }

Property Value

IEntityInfo

UndeclaredOutputs

Entities which the type's calculation hooks changed although no [CalculationResult] path reaches them, by type, with how many and the first of them; their changes were not saved.

public IReadOnlyDictionary<string, (int Count, Guid Example)> UndeclaredOutputs { get; }

Property Value

IReadOnlyDictionary<string, (int Count, Guid Example)>

Updated

Entities saved because their recalculated values differed from those stored.

public int Updated { get; }

Property Value

int

Written

Other entities saved because the type's calculation hooks changed them through their [CalculationResult] paths, or changed their relationships with the type's entities.

public int Written { get; }

Property Value

int