Npgsql API Documentation |

# NpgsqlTransaction Class

[This is preliminary documentation and subject to change.]

Represents a transaction to be made in a PostgreSQL database. This class cannot be inherited.

For a list of all members of this type, see NpgsqlTransaction Members.

System.Object
MarshalByRefObject
NpgsqlTransaction

[Visual Basic]
NotInheritable Public Class NpgsqlTransaction
Inherits MarshalByRefObject
Implements ,
[C#]
public sealed class NpgsqlTransaction : MarshalByRefObject, IDbTransaction, IDisposable

#### Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

#### Requirements

Namespace: Npgsql

Assembly: Npgsql (in Npgsql.dll)

#### See Also

NpgsqlTransaction Members | Npgsql Namespace