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

                this.connection.Insert(entity);
            }
Exemplo n.º 2
0
        /// <inheritdoc />
        public void Add(TEntity entity)
        {
            ITransactionContracts.Add(this, entity);

            this.transaction.Add(entity);
        }