IDalDriver.CreateDescriptor

Syntax

CreateDescriptor: IDalConnectionDescriptor;

Description

The CreateDescriptor method creates a database server connection description.

Comments

The type of driver in use depends on the class, which was used to initialize an object described by the IDalDriver interface. Enter connection parameters and create a connection using the IDalConnectionDescriptor.CreateConnection method. The parameters required for different drivers are different and can be obtained using the IDalConnectionDescriptor.Params property.

Example

Below are the examples of connection to DBMS servers in the Fore language using various drivers of the Dal assembly. Connection results are displayed in the development environment console.

Add a link to the Dal system assembly.

DalClickHouseDriver

DalMsSql2012Driver

DalMsSql2012ODBCDriver

DalODBCDriver

DalOrcl8Driver

DalPostgresDriver

DalSQLiteDriver

See also:

IDalDriver