public void RegisterDeletion(Infrastructure.Domain.IAggregateRoot aggregateRoot, IUnitOfWorkRepository repository)
 {
     if (!deletedAggregates.ContainsKey(aggregateRoot))
     {
         deletedAggregates.Add(aggregateRoot, repository);
     }
 }
Beispiel #2
0
 public void PersistDeletionOf(Infrastructure.Domain.IAggregateRoot entity)
 {
     this.Remove((Report)entity);
 }
Beispiel #3
0
 public void PersistUpdateOf(Infrastructure.Domain.IAggregateRoot entity)
 {
     this.Save((Report)entity);
 }
Beispiel #4
0
 public void PersistCreationOf(Infrastructure.Domain.IAggregateRoot entity)
 {
     this.Add((Report)entity);
 }
Beispiel #5
0
 public void PersistDeletionOf(Infrastructure.Domain.IAggregateRoot entity)
 {
     throw new NotImplementedException();
 }