Npgsql Api Docs

NpgsqlCommand.Transaction Property

Gets or sets the NpgsqlTransaction within which the NpgsqlCommand executes.

[Visual Basic]
Overloads Public Property Transaction As NpgsqlTransaction
[C#]
new public NpgsqlTransaction Transaction {get; set;}

Property Value

The NpgsqlTransaction. The default value is a null reference.

See Also

NpgsqlCommand Class | Npgsql Namespace