Esempio n. 1
0
 public void Handle(StudentDeleted @event)
 {
     using (var context = new ProjectionContext(ConnectionString.Get()))
     {
         var entity = context.GetEntity <StudentSqlEntity>(@event.AggregateId);
         entity.Removed = true;
         context.SaveChanges();
     }
 }
Esempio n. 2
0
 public void Handle(StudentDeleted @event)
 {
     throw new System.NotImplementedException();
 }