Namespace

Description

Specifies the .NET Framework data provider to be used to access data.

When to specify Namespace

You must specify the Namespace parameter before connecting to the database.

Applies to

ADO.NET

Syntax

Namespace='value'

Parameter

Description

value

Specifies a namespace to be used as the data provider for an ADO.NET connection. Supported namespaces can be selected from the drop-down list.


Default value

None

Usage

The .NET Framework data provider for a given DBMS describes a collection of classes used to access a data source in that format in the managed space.

Examples

To specify that PowerBuilder should use the System.Data.OleDb namespace to connect to a database:

  • Database profile

    Select System.Data.OleDb from the Namespace drop-down list on the General page in the Database Profile Setup dialog box.

  • Application

    Type the following in code:

    SQLCA.DBParm="Namespace='System.Data.OleDb'"