Exemple #1
0
        private void InsertImpl(IEnumerable <Entity> entities, OracleConnection connection, OracleTransaction transaction)
        {
            foreach (var entity in entities)
            {
                IEntityBroker broker = GetBroker(entity.GetType());

                broker.Insert(entity, connection, transaction);
            }
        }
Exemple #2
0
        private void InsertOne(Entity entity, OracleConnection connection, OracleTransaction transaction)
        {
            IEntityBroker broker = GetBroker(entity.GetType());

            broker.Insert(entity, connection, transaction);
        }