RaiseMany Method
Definition
- Namespace
- Savvyio.Extensions.EFCore.Domain
- Assemblies
- Savvyio.Extensions.EFCore.Domain.dll
RaiseMany(IDomainEventDispatcher, DbContext)
Raises domain events from the specified context to handlers that implements the IDomainEventHandler interface.
public static void RaiseMany(this IDomainEventDispatcher dispatcher, DbContext context)
Parameters
dispatcherIDomainEventDispatcherThe IDomainEventDispatcher to extend.
contextDbContextThe DbContext to extract aggregate(s) and publish domain events from.