Entity<TId>: Base class for domain entities with strongly-typed identity.AggregateRoot<TId>: Base class for aggregate roots with domain event encapsulation.IEntityId<T>: Contract for strongly-typed single-value identifiers.IDomainEvent: Marker interface for immutable domain events.IRepository<TEntity>&IUnitOfWork: Application port interfaces.
DomainEventsInterceptor: InterceptsDbContext.SaveChangesAsyncto extract and dispatch aggregate domain events.
- PostgreSQL
UNNESTzero-allocation batch parameter builder. - Type handlers for strongly-typed identifiers.
- Incremental Roslyn source generator for
[StronglyTypedId].
- OpenTelemetry activity enrichment and test assertions for domain events.