Skip to main content
Table of Contents

Interface IUpdateCommand

Namespace
Stratara.Abstractions.Commands
Assembly
Stratara.Abstractions.dll

Command shape for an in-place aggregate update. Carries the target AggregateId and the version the caller has seen — handlers compare it against the current stream version to detect concurrent writes.

public interface IUpdateCommand : ICommand, IRequest, ICommandBase
Extension Methods

Properties

AggregateId

The aggregate the update targets.

Guid AggregateId { get; }

Property Value

Guid

SourceVersion

The aggregate version the caller observed when constructing the command.

long SourceVersion { get; }

Property Value

long