Npgsql Api Docs

NpgsqlTransaction.Connection Property

Gets the NpgsqlConnection object associated with the transaction, or a null reference if the transaction is no longer valid.

[Visual Basic]
Overloads Public ReadOnly Property Connection As NpgsqlConnection
[C#]
new public NpgsqlConnection Connection {get;}

Property Value

The NpgsqlConnection object associated with the transaction.

See Also

NpgsqlTransaction Class | Npgsql Namespace | NpgsqlTransaction.Connection Overload List


Connection Property
Npgsql Api Docs

NpgsqlTransaction.Connection Property

Gets the NpgsqlConnection object associated with the transaction, or a null reference if the transaction is no longer valid.

[Visual Basic]
Overloads Public ReadOnly Property Connection As DbConnection
[C#]
new public System.Data.Common.DbConnection Connection {get;}

Property Value

The NpgsqlConnection object associated with the transaction.

See Also

NpgsqlTransaction Class | Npgsql Namespace | NpgsqlTransaction.Connection Overload List