public void RollbackTransaction()
{
NpgsqlEventLog.LogMethodEnter(LogLevel.Debug, CLASSNAME, "RollbackTransaction");
NpgsqlConnection connection = GetConnection();
if (_prepared)
{
NpgsqlCommand.ExecuteBlind(connection.Connector, string.Format("ROLLBACK PREPARED '{0}'", _txName));
}
else
{
NpgsqlCommand.ExecuteBlind(connection.Connector, "ROLLBACK");
}
}