Skip to main content

Interface IEntityId

Namespace: AdCodicem.ValueObjects.Identifiers
Assembly: AdCodicem.ValueObjects.Identifiers.dll

Non-generic marker implemented by every entity identifier.

public interface IEntityId : IValueObject<string>, IValueObject

Implements

IValueObject<string>, IValueObject

Remarks

Reflection-driven integrations test for this interface for the same reason they test for : one IsAssignableTo is far cheaper than walking a generic interface list. It also draws the line that keeps out of persistence, since the polymorphic type deliberately implements neither this nor .

Properties

GranularityValue

Gets the width of the time bucket heading the body.

IdGranularity GranularityValue { get; }

Property Value

IdGranularity

Remarks

Reserved for reflection-driven code paths; prefer the static Granularity property.

PrefixValue

Gets the prefix this identifier carries, without its trailing separator.

string PrefixValue { get; }

Property Value

string

Remarks

Reserved for reflection-driven code paths; prefer the static Prefix property.