示例#1
0
 public void Handle(EntityMetadataDefinitionRemovedEvent @event)
 {
     _readStore.ToQueryable()
     .Where(x => x.MetadataDefinitionIdentity == @event.DefinitionId)
     .Where(x => x.EntityIdentity == @event.AggregateIdentity)
     .ToList()
     .Each(x => _readStore.Remove(x.ToMaybe()));
 }
 public void Handle(EntityMetadataDefinitionRemovedEvent @event)
 {
     UpdateIndex(@event.AggregateIdentity);
 }