public void Create(TEntity entity) { using (var transaction = new TransactionScope()) { decoratedCrud.Create(entity); transaction.Complete(); } }
public void Create(TEntity entity) { // this.log.InfoFormat("Creating entity of type {0}", typeof(TEntity).Name); decoratedCrud.Create(entity); }
public void Create(TEntity entity) { log.LogMessage(string.Format("Creating entity of type {0}", typeof(TEntity).Name)); decoratedCrud.Create(entity); }
public void Create(TEntity entity) { decorated.Create(entity); }
public void Create(TEnity entity) { log.Info($"Creating entity of type {typeof(TEnity).Name}"); decoratedCrud.Create(entity); }