IBDAC

TIBCConnection Class

A component for setting and controlling connections to an InterBase database.

For a list of all members of this type, see TIBCConnection members.

Unit

IBC

Syntax

TIBCConnection = class(TCustomDAConnection);

Remarks

The TIBCConnection component is used to maintain connection to the InterBase database. After setting the Username, Password, and Database properties, you can establish a connection to the database by calling the Open method or setting the Connected property to True.

The TIBCConnection component contains internal transaction component that is accessible through the TIBCConnection.DefaultTransaction property. It is possible to create applications without manual adding TIBCTransaction components. But you can use external transaction components instead of internal transaction. To do it create a TIBCTransaction component and assign the TIBCConnection.DefaultTransaction property to this transaction. If you need to restore internal transaction - just reset the TIBCConnection.DefaultTransaction property to nil.

All components which are dedicated to perform data access, such as TIBCQuery, TIBCSQL, TIBCScript, must have their Connection property assigned with one of the TIBCConnection instances.

Inheritance Hierarchy

TCustomDAConnection
   TIBCConnection

See Also

© 1997-2020 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback