Table of Contents

Class CloningEntityInitialiser

Namespace
The.Entities
Assembly
Instagile.dll

Initialises a new entity by cloning the state of an existing entity.

public sealed class CloningEntityInitialiser : IEntityInitialiser
Inheritance
CloningEntityInitialiser
Implements
Inherited Members

Constructors

CloningEntityInitialiser(EntityKernel, CloneState)

public CloningEntityInitialiser(EntityKernel source, CloneState cloneState)

Parameters

source EntityKernel
cloneState CloneState

Properties

InitialState

public RowState InitialState { get; }

Property Value

RowState

Methods

CalculateAttributes(IEntity, AttributeBase[])

public void CalculateAttributes(IEntity wrapper, AttributeBase[] attributes)

Parameters

wrapper IEntity
attributes AttributeBase[]

GetExisting<T>(IEntityContext, Exception)

public T GetExisting<T>(IEntityContext context, Exception triggeringException) where T : IEntity<T>

Parameters

context IEntityContext
triggeringException Exception

Returns

T

Type Parameters

T

LoadAttributes(AttributeBase[])

public void LoadAttributes(AttributeBase[] attributes)

Parameters

attributes AttributeBase[]

LoadRelationships(RelationshipProperty[])

public void LoadRelationships(RelationshipProperty[] relationships)

Parameters

relationships RelationshipProperty[]