Table of Contents

Class GetLatestSnapshotRequest

Namespace
Excalibur.EventSourcing.Oracle.Requests
Assembly
Excalibur.EventSourcing.Oracle.dll

Data request to get the latest snapshot for an aggregate.

public sealed class GetLatestSnapshotRequest : DataRequestBase<IDbConnection, ISnapshot?>, IDataRequest<IDbConnection, ISnapshot?>, IDataRequest
Inheritance
GetLatestSnapshotRequest
Implements
Inherited Members

Constructors

GetLatestSnapshotRequest(string, string, TenantScope, CancellationToken, string, string)

Initializes a new instance of the GetLatestSnapshotRequest class.

public GetLatestSnapshotRequest(string aggregateId, string aggregateType, TenantScope scope, CancellationToken cancellationToken, string schema = "EXCALIBUR", string table = "EVENTSTORESNAPSHOTS")

Parameters

aggregateId string

The aggregate identifier.

aggregateType string

The aggregate type name.

scope TenantScope

The tenant scope. The tenant predicate is emitted unconditionally: an untenanted scope binds the reserved sentinel rather than omitting the term, so the statement is always restricted to a single partition's rows.

cancellationToken CancellationToken

The cancellation token.

schema string

The schema name for the snapshot store table.

table string

The snapshot store table name.