Firebird ADO.NET Provider SDK Documentation - v1.7

FbCommand.Transaction Property

Gets or sets the FbTransaction within which the FbCommand will be used.

[Visual Basic]
<Browsable(Browsable:=False), _  DesignerSerializationVisibility(Visibility:=DesignerSerializationVisibility.Hidden)>
Public Property Transaction As FbTransaction
[C#]
[Browsable(Browsable=False)]
[DesignerSerializationVisibility(Visibility=DesignerSerializationVisibility.Hidden)]
public FbTransaction Transaction {get; set;}

Property Value

An FbTransaction object. The default is a null value.

Remarks

You cannot set the Transaction property if it is already set to a specific value, and the command is in the process of executing. If you set the transaction property to an FbTransaction object that is different of the FbConnection of the FbCommand object, an exception will be thrown the next time you attempt to execute or prepare the command.

See Also

FbCommand Class | FirebirdSql.Data.Firebird Namespace