Click or drag to resize
Akka.NETISnapshotQueryExecutor.SelectSnapshotAsync Method
Selects a single snapshot identified by persistent actor's persistenceId, matching upper (inclusive) bounds of both maxSequenceNr and maxTimestamp. In case, when more than one snapshot matches specified criteria, one with the highest sequence number will be selected.

Namespace:  Akka.Persistence.Sql.Common.Snapshot
Assembly:  Akka.Persistence.Sql.Common (in Akka.Persistence.Sql.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Task<SelectedSnapshot> SelectSnapshotAsync(
	DbConnection connection,
	CancellationToken cancellationToken,
	string persistenceId,
	long maxSequenceNr,
	DateTime maxTimestamp
)

Parameters

connection
Type: System.Data.Common.DbConnection
TBD
cancellationToken
Type: System.Threading.CancellationToken
TBD
persistenceId
Type: System.String
TBD
maxSequenceNr
Type: System.Int64
TBD
maxTimestamp
Type: System.DateTime
TBD

Return Value

Type: Task<SelectedSnapshot>
TBD
See Also