public void OnPostUpdate( PostUpdateEvent @event) { var properties = @event.ToPropertyEntry().ToList(); Raise(@event, typeof(AfterModifiedEntityDomainEvent <>), @event.Entity, properties); }
public async Task OnPostUpdateAsync( PostUpdateEvent @event, CancellationToken cancellationToken) { var properties = @event.ToPropertyEntry().ToList(); await RaiseAsync(@event, typeof(AfterModifiedEntityDomainEvent <>), @event.Entity, properties); }