Click or drag to resize

RawEntityDataTEntityCreateEntity Method

Creates an entity with the data from a specified record in the data set.

Namespace:  AGI.Foundation.Tracking
Assembly:  AGI.Foundation.Tracking (in AGI.Foundation.Tracking.dll) Version: 21.2.409.0 (21.2.409.0)
Syntax
public TEntity CreateEntity(
	int recordIndex,
	Transaction transaction
)

Parameters

recordIndex
Type: SystemInt32
The index of the entity record from which to create the entity.
transaction
Type: AGI.FoundationTransaction
The transaction to use to set properties of the entity.

Return Value

Type: TEntity
The new entity created from the data record.
Exceptions
ExceptionCondition
InvalidOperationException The data set does not contain the EntityIdentifier property, which is required in order to create an entity.
ArgumentNullException Thrown when transaction is .
See Also