Home ISnapshotRepository<TSnapshot> Interface
Post
Cancel

ISnapshotRepository<TSnapshot> Interface

Definition

Namespace: EntityDb.Abstractions.Snapshots
Assembly: EntityDb.Abstractions

Represents a collection of TSnapshot snapshots.

1
public interface ISnapshotRepository<TSnapshot> : EntityDb.Abstractions.Disposables.IDisposableResource, System.IDisposable, System.IAsyncDisposable

Type Parameters

TSnapshot
The type of snapshot stored in the ISnapshotRepository<TSnapshot>.

Methods

GetSnapshotOrDefault(Pointer, CancellationToken) Returns an exact version of snapshot of a TSnapshot or default(TSnapshot).
PutSnapshot(Pointer, TSnapshot, CancellationToken) Inserts a TSnapshot snapshot.
DeleteSnapshots(Pointer[], CancellationToken) Deletes multiple TSnapshot snapshots.
This post is licensed under CC BY 4.0 by the author.