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
AggregateIdstringThe original aggregate identifier.
AggregateTypestringThe original aggregate type.
NextExpectedVersionlongThe committed, zero-based stream version.
FirstEventPositionlongThe first committed global position.
LastEventPositionlongThe last committed global position, usable as a read session token.
Properties
AggregateId
The original aggregate identifier.
public string AggregateId { get; init; }
Property Value
AggregateType
The original aggregate type.
public string AggregateType { get; init; }
Property Value
FirstEventPosition
The first committed global position.
public long FirstEventPosition { get; init; }
Property Value
LastEventPosition
The last committed global position, usable as a read session token.
public long LastEventPosition { get; init; }
Property Value
NextExpectedVersion
The committed, zero-based stream version.
public long NextExpectedVersion { get; init; }