Closes the connection to the database. This is the preferred method of closing any open connection.
The Close method rolls back any pending transactions and drops active statments. It then releases the connection to the connection pool, or closes the connection if connection pooling is disabled. If Close is called while handling a StateChange event, no additional StateChange events are fired.
Close can be called more than one time without generating an exception.
FbConnection Class | FirebirdSql.Data.Firebird Namespace