public override void Modify(TAggregateRoot entity)
 {
     _efContext.RegisterModified <TAggregateRoot>(entity);
 }
Exemple #2
0
 protected override void DoUpdate(TAggregateRoot aggregateRoot)
 {
     efContext.RegisterModified(aggregateRoot);
 }
Exemple #3
0
 protected override void DoUpdate(TRootEntity rootEntity)
 {
     efContext.RegisterModified <TRootEntity>(rootEntity);
 }
 public void Update(TAggregateRoot aggregateRoot)
 {
     _efContext.RegisterModified <TAggregateRoot>(aggregateRoot);
 }
Exemple #5
0
 /// <summary>
 /// Does the update.
 /// </summary>
 /// <param name="entity">The entity.</param>
 protected override void DoUpdate(TEntity entity)
 {
     efContext.RegisterModified(entity);
 }
 public void Update(TAgreegateRoot aggregateRoot)
 {
     _efContext.RegisterModified <TAgreegateRoot, TKey>(aggregateRoot);
     _efContext.Commit();
 }