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