Gets or sets the FbTransaction within which the FbCommand will be used.
An FbTransaction object. The default is a null value.
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.
FbCommand Class | FirebirdSql.Data.Firebird Namespace