Gets or sets the FbConnection associated with the current command.
The connection to a data source. The default is a null value.
You cannot set the Connection, CommandType, and CommandText properties if the current connection is performing an execute or fetch operation.
Exception Type | Condition |
---|---|
InvalidOperationException | The Connection property was changed while a transaction was in progress. |
FbCommand Class | FirebirdSql.Data.Firebird Namespace