Npgsql Api Docs |

# NpgsqlTransaction Class

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
System.MarshalByRefObject
System.Data.Common.DbTransaction
Npgsql.NpgsqlTransaction

[Visual Basic]
NotInheritable Public Class NpgsqlTransaction
Inherits DbTransaction
[C#]
public sealed class NpgsqlTransaction : DbTransaction

#### 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