private void DeleteImpl(IEnumerable <Entity> entities, OracleConnection connection, OracleTransaction transaction) { foreach (var entity in entities) { IEntityBroker broker = GetBroker(entity.GetType()); broker.Delete(entity, connection, transaction); } }
private void DeleteOne(Entity entity, OracleConnection connection, OracleTransaction transaction) { IEntityBroker broker = GetBroker(entity.GetType()); broker.Delete(entity, connection, transaction); }