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

                broker.Update(entity, connection, transaction);
            }
        }
コード例 #2
0
        private void UpdateOne(Entity entity, OracleConnection connection, OracleTransaction transaction)
        {
            IEntityBroker broker = GetBroker(entity.GetType());

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