Core Concepts — Entities, Aggregates & OperationTimeContext
Entity<TId>: Protected constructorEntity(TId id)rejectsdefault(TId)withArgumentException(BC-001inv3.0.0). ImplementsIEntity<TId>and identity-based equality.AuditableEntity<TId>/AuditableAggregateRoot<TId>: Adds UTC audit timestamps driven byOperationTimeContext/OperationTimeScope(v4.0.0).AggregateRoot<TId>: Maintains a lazy domain event buffer (nulluntilRaiseDomainEventis called), exposesPendingDomainEventsCount,DomainEvents(IHasDomainEvents, added inv4.0.0),DrainDomainEvents(), andRequeueDomainEvents(...)(added inv4.0.0).DomainEvent: Abstract record implementingEricksonLopez.Events.Contracts.IDomainEvent, paired withDomainEventIdentityEqualityComparer.IDomainEventDispatcher: Port contract for dispatching drained domain events (DispatchAsyncis async-first; synchronousDispatchthrowsNotSupportedExceptionby default inv4.0.0).