Example #1
0
        public void OnPostUpdate(
            PostUpdateEvent @event)
        {
            var properties = @event.ToPropertyEntry().ToList();

            Raise(@event, typeof(AfterModifiedEntityDomainEvent <>), @event.Entity, properties);
        }
Example #2
0
        public async Task OnPostUpdateAsync(
            PostUpdateEvent @event,
            CancellationToken cancellationToken)
        {
            var properties = @event.ToPropertyEntry().ToList();

            await RaiseAsync(@event, typeof(AfterModifiedEntityDomainEvent <>), @event.Entity, properties);
        }