public void Update(TEntity entity)
 {
     using (var transaction = new TransactionScope())
     {
         decratedCrud.Update(entity);
         transaction.Complete();
     }
 }
Example #2
0
 public void Update(TEntity entity)
 {
     decoratedCrud.Update(entity);
 }
 public void Update(TEntity entity)
 {
     log.LogMessage(string.Format("Updating entity of type {0}.", typeof(TEntity).Name));
     decoratedCrud.Update(entity);
 }
 public void Update(TEnity entity)
 {
     log.Info($"Updating entity of type {typeof(TEnity).Name}");
     decoratedCrud.Update(entity);
 }