Connection Functionality

Connections handle low-level tasks such as user authentication, networking, database identification, connection pooling, and transaction processing. Each connection object implements the IDbConnection interface defined in the System.Data namespace.

Tables 18.1 and 18.2 list the various properties and methods of the IDbConnection interface, respectively.

Table 18.1. IDbConnection Properties
PropertyDescription
ConnectionStringContains connection settings in the name-value pair format. This information might include user authentication information, database identification and data provider specific settings.
ConnectionTimeoutThe amount of time that must elapse when connecting before raising a data provider specific exception. ...

Get Delphi for .NET Developer’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.