public Task <AsyncTaskResult> HandleAsync(NotificationDeletedEvent evnt)
 {
     return(TryTransactionAsync(async(connection, transaction) =>
     {
         var effectedRows = await connection.DeleteAsync(new
         {
             Id = evnt.AggregateRootId,
             //Version = evnt.Version - 1
         }, ConfigSettings.NotificationTable, transaction);
     }));
 }
示例#2
0
 private void Handle(NotificationDeletedEvent evnt)
 {
     _info = null;
 }