Data.Win.ADODB.TADOConnection

From RAD Studio API Documentation
Jump to: navigation, search

Data.DB.TCustomConnectionSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTADOConnection

Delphi

TADOConnection = class(TCustomConnection, IUnknown, ConnectionEventsVT)

C++

class PASCALIMPLEMENTATION TADOConnection : public Data::Db::TCustomConnection

Properties

Type Visibility Source Unit Parent
class public
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Data.Win.ADODB Data.Win.ADODB

Description

TADOConnection connects to an ADO data store.

TADOConnection encapsulates the ADO connection object. Use TADOConnection for connecting to ADO data stores. The connection provided by a single TADOConnection component can be shared by multiple ADO command and dataset components through their Connection properties.

TADOConnection allows you to control the attributes and conditions of a connection to a data store. Use the properties of TADOConnection to control such attributes as record locking scheme (optimistic versus pessimistic), cursor type, cursor location, isolation level, and connection time-out. Methods are also provided for implementing transactions and retrieving metadata about the database to which this component connects.

See Also


Code Examples