Click or drag to resize

SqlServerArchiveTEntityArchiveEntities Method

Archives a set of entities.

Namespace:  AGI.Foundation.Tracking
Assembly:  AGI.Foundation.Tracking (in AGI.Foundation.Tracking.dll) Version: 19.2.399.0 (19.2.399.0)
Syntax
protected override void ArchiveEntities(
	Transaction transaction,
	IEnumerable<TEntity> entities
)

Parameters

transaction
Type: AGI.FoundationTransaction
A transaction that should be used to retrieve properties of the entities. It is possible for later transactions to commit additional updates before this method is called for older updates. However, this transaction will see the state of the system as of the time that the updates being archived were committed. Using this transaction rather than creating a separate one will guarantee that updates are not missed.
entities
Type: System.Collections.GenericIEnumerableTEntity
The entities to archive.
See Also