Table of Contents

Class SqlServerOperationResult

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

The outcome of an operation; a no-event operation has no receipt.

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

Constructors

SqlServerOperationResult(bool, SqlServerOperationReceipt?)

The outcome of an operation; a no-event operation has no receipt.

public SqlServerOperationResult(bool Replayed, SqlServerOperationReceipt? Receipt)

Parameters

Replayed bool

Whether a prior committed receipt prevented another append.

Receipt SqlServerOperationReceipt

The durable append outcome, if any.

Properties

Receipt

The durable append outcome, if any.

public SqlServerOperationReceipt? Receipt { get; init; }

Property Value

SqlServerOperationReceipt

Replayed

Whether a prior committed receipt prevented another append.

public bool Replayed { get; init; }

Property Value

bool