public void Save(String savePointName)
{
CheckDisposed();
if (_conn == null)
{
throw new InvalidOperationException(resman.GetString("Exception_NoTransaction"));
}
if (!_conn.Connector.SupportsSavepoint)
{
throw new InvalidOperationException(resman.GetString("Exception_SavePointNotSupported"));
}
if (savePointName.Contains(";"))
{
throw new InvalidOperationException(resman.GetString("Exception_SavePointWithSemicolon"));
}
NpgsqlCommand.ExecuteBlind(_conn.Connector, string.Format("SAVEPOINT {0}", savePointName));
}