コード例 #1
0
            /// <inheritdoc />
            public void AddAll <TEntity>(IEnumerable <TEntity> entities)
                where TEntity : class
            {
                ITransactionContracts.AddAll(this, entities);

                this.connection.InsertAll(entities);
            }
コード例 #2
0
        /// <inheritdoc />
        public void AddAll(IEnumerable <TEntity> entities)
        {
            ITransactionContracts.AddAll(this, entities);

            this.transaction.AddAll(entities);
        }