RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdoDbxConnectionStringBuilder Class

Class for strongly typed connection string builder.

Pascal
TAdoDbxConnectionStringBuilder = class(DbConnectionStringBuilder);
C++
class TAdoDbxConnectionStringBuilder : public DbConnectionStringBuilder;

Borland.Data.AdoDbxClientProvider

The TAdoDbxConnectionStringBuilder class provides a mechanism for building connection strings in a strongly typed manner. Connection string builders create and edit syntactically correct connection strings. 

TAdoDbxConnectionStringBuilder is an implementation of the ADO.NET DbConnectionStringBuilder class. 

Users can derive classes from this base class to assign arbitrary key-value pairs that can be tailored for a particular provider. Applications that need to provide connection strings can use TAdoDbxConnectionStringBuilder or one of its derived classes to create and modify connection strings. 

This class makes no checks on strings, so it is possible to build invalid connection strings. 

The properties in TAdoDbxConnectionStringBuilder correspond to the constants in DBXCommon.TDBXPropertyNames

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!