コード例 #1
0
 public void Update(TAggregateRoot aggregateRoot)
 {
     mongoDBRepositoryContext.RegisterModified(aggregateRoot);
 }
コード例 #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);
 }