/// <inheritdoc /> public void Add <TEntity>(TEntity entity) where TEntity : class { ITransactionContracts.Add(this, entity); this.connection.Insert(entity); }
/// <inheritdoc /> public void Add(TEntity entity) { ITransactionContracts.Add(this, entity); this.transaction.Add(entity); }