Table of Contents

Class AggregateReference

Namespace
Excalibur.EventSourcing.Erasure
Assembly
Excalibur.EventSourcing.dll

Identifies an aggregate instance holding a data subject's personal data.

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

Constructors

AggregateReference(string, string)

Identifies an aggregate instance holding a data subject's personal data.

public AggregateReference(string AggregateId, string AggregateType)

Parameters

AggregateId string

The aggregate identifier.

AggregateType string

The aggregate type name — for erasure, the type holding the subject's PERSONAL DATA (e.g. "Customer", "Patient", "Employee"). Naming a transaction aggregate here destroys the whole transaction; see IAggregateDataSubjectMapping.

Properties

AggregateId

The aggregate identifier.

public string AggregateId { get; init; }

Property Value

string

AggregateType

The aggregate type name — for erasure, the type holding the subject's PERSONAL DATA (e.g. "Customer", "Patient", "Employee"). Naming a transaction aggregate here destroys the whole transaction; see IAggregateDataSubjectMapping.

public string AggregateType { get; init; }

Property Value

string