Home IProjectionRepository<TProjection> Interface
Post
Cancel

IProjectionRepository<TProjection> Interface

Definition

Namespace: EntityDb.Abstractions.Projections
Assembly: EntityDb.Abstractions

Encapsulates the snapshot repository for a projection.

1
public interface IProjectionRepository<TProjection> : EntityDb.Abstractions.Disposables.IDisposableResource, System.IDisposable, System.IAsyncDisposable

Type Parameters

TProjection
The type of the projection.

Properties

TransactionRepository The backing transaction repository.
SnapshotRepository The backing snapshot repository.

Methods

GetSnapshot(Pointer, CancellationToken) Returns the snapshot of a TProjection for a given Pointer.
GetProjectionIdOrDefault(Object) Maps an entity to a projection id, or default if the entity does not map to this projection.
This post is licensed under CC BY 4.0 by the author.