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); } }
private void UpdateOne(Entity entity, OracleConnection connection, OracleTransaction transaction) { IEntityBroker broker = GetBroker(entity.GetType()); broker.Update(entity, connection, transaction); }