Struct DataLocationKey
- Namespace
- Excalibur.Compliance
- Assembly
- Excalibur.Compliance.Abstractions.dll
A table-and-field pair, the granularity at which an erasure obligation is declared and discharged.
public readonly record struct DataLocationKey : IEquatable<DataLocationKey>
- Implements
- Inherited Members
Remarks
Comparison is ordinal and case-insensitive, because a consumer registering Customers.Email and
a contributor reporting customers.email have discharged the same obligation, and treating them
as different would report a false gap on every provider that normalises identifier case.
Constructors
DataLocationKey(string, string)
A table-and-field pair, the granularity at which an erasure obligation is declared and discharged.
public DataLocationKey(string TableName, string FieldName)
Parameters
Remarks
Comparison is ordinal and case-insensitive, because a consumer registering Customers.Email and
a contributor reporting customers.email have discharged the same obligation, and treating them
as different would report a false gap on every provider that normalises identifier case.
Properties
Comparer
Gets a comparer that treats table and field names as case-insensitive.
public static IEqualityComparer<DataLocationKey> Comparer { get; }
Property Value
FieldName
The column or field name.
public string FieldName { get; init; }
Property Value
TableName
The table or collection name.
public string TableName { get; init; }
Property Value
Methods
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.