public override void delete(AbstractEntity entity) { try { connection.open(); using (cmd = new OracleCommand(entity.queryDelete(), connection.get())) { cmd.ExecuteNonQuery(); } } catch (OracleException) { throw new CompetitionDogException("Ошибка операции удаления"); } finally { connection.close(); } }