Table of Contents

Class SqlServerOperationReceipt

Namespace
Excalibur.EventSourcing.SqlServer
Assembly
Excalibur.EventSourcing.SqlServer.dll

The durable outcome of one idempotent event append.

public sealed record SqlServerOperationReceipt : IEquatable<SqlServerOperationReceipt>
Inheritance
SqlServerOperationReceipt
Implements
Inherited Members

Constructors

SqlServerOperationReceipt(string, string, long, long, long)

The durable outcome of one idempotent event append.

public SqlServerOperationReceipt(string AggregateId, string AggregateType, long NextExpectedVersion, long FirstEventPosition, long LastEventPosition)

Parameters

AggregateId string

The original aggregate identifier.

AggregateType string

The original aggregate type.

NextExpectedVersion long

The committed, zero-based stream version.

FirstEventPosition long

The first committed global position.

LastEventPosition long

The last committed global position, usable as a read session token.

Properties

AggregateId

The original aggregate identifier.

public string AggregateId { get; init; }

Property Value

string

AggregateType

The original aggregate type.

public string AggregateType { get; init; }

Property Value

string

FirstEventPosition

The first committed global position.

public long FirstEventPosition { get; init; }

Property Value

long

LastEventPosition

The last committed global position, usable as a read session token.

public long LastEventPosition { get; init; }

Property Value

long

NextExpectedVersion

The committed, zero-based stream version.

public long NextExpectedVersion { get; init; }

Property Value

long