Home ISnapshot<TSnapshot> Interface
Post
Cancel

ISnapshot<TSnapshot> Interface

Definition

Namespace: EntityDb.Common.Snapshots
Assembly: EntityDb.Common

Indicates that the snapshot is compatible with several EntityDb.Common implementations.

1
public interface ISnapshot<TSnapshot>

Type Parameters

TSnapshot
The type of the snapshot.

Methods

Construct(Id) Creates a new instance of a TSnapshot.
GetId() Returns the id of this snapshot.
GetVersionNumber() Returns the version number of this snapshot.
ShouldRecord() Indicates if this snapshot instance version should be recorded (independent of the latest snapshot).
ShouldRecordAsLatest(TSnapshot) Indicates if this snapshot instance should be recorded as the latest snapshot.
This post is licensed under CC BY 4.0 by the author.