Table of Contents

Class UniqueConstraintEventDefinition

Namespace
Cratis.Chronicle.Events.Constraints
Assembly
Cratis.Chronicle.dll

Represents a definition of a unique event type and property constraint.

public record UniqueConstraintEventDefinition : IEquatable<UniqueConstraintEventDefinition>
Inheritance
UniqueConstraintEventDefinition
Implements
Inherited Members

Constructors

UniqueConstraintEventDefinition(EventTypeId, IEnumerable<string>)

Represents a definition of a unique event type and property constraint.

public UniqueConstraintEventDefinition(EventTypeId EventTypeId, IEnumerable<string> Properties)

Parameters

EventTypeId EventTypeId

The EventTypeId.

Properties IEnumerable<string>

The properties on the event type.

Properties

EventTypeId

public EventTypeId EventTypeId { get; init; }

Property Value

EventTypeId

Properties

The properties on the event type.

public IEnumerable<string> Properties { get; init; }

Property Value

IEnumerable<string>