Ejemplo n.º 1
0
 public void Update(TAggregateRoot aggregateRoot)
 {
     mongoDBRepositoryContext.RegisterModified(aggregateRoot);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Updates the aggregate root in the current repository.
 /// </summary>
 /// <param name="aggregateRoot">The aggregate root to be updated.</param>
 protected override void DoUpdate(TAggregateRoot entity)
 {
     mongoDBRepositoryContext.RegisterModified(entity);
 }