SqlServerArchiveTEntityArchiveEntities Method |
Archives a set of entities.
Namespace:
AGI.Foundation.Tracking
Assembly:
AGI.Foundation.Tracking (in AGI.Foundation.Tracking.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax protected override void ArchiveEntities(
Transaction transaction,
IEnumerable<TEntity> entities
)
Protected Overrides Sub ArchiveEntities (
transaction As Transaction,
entities As IEnumerable(Of TEntity)
)
protected:
virtual void ArchiveEntities(
Transaction^ transaction,
IEnumerable<TEntity>^ entities
) override
abstract ArchiveEntities :
transaction : Transaction *
entities : IEnumerable<'TEntity> -> unit
override ArchiveEntities :
transaction : Transaction *
entities : IEnumerable<'TEntity> -> unit
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