/// <inheritdoc />
            public void AddOrUpdateAll <TEntity>(IEnumerable <TEntity> entities)
                where TEntity : class
            {
                ITransactionContracts.AddOrUpdateAll(this, entities);

                this.connection.InsertOrReplaceAll(entities);
            }
Ejemplo n.º 2
0
        /// <inheritdoc />
        public void AddOrUpdateAll(IEnumerable <TEntity> entities)
        {
            ITransactionContracts.AddOrUpdateAll(this, entities);

            this.transaction.AddOrUpdateAll(entities);
        }