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
EventTypeIdThe EventTypeId.
Properties
IEnumerable<string>The properties on the event type.
Properties
EventTypeId
The EventTypeId.
public EventTypeId EventTypeId { get; init; }
Property Value
Properties
The properties on the event type.
public IEnumerable<string> Properties { get; init; }