Namespace
database parameter
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
|
1 |
Namespace='value' |
|
Parameter |
Description |
|---|---|
|
value |
Specifies a namespace to be used as the data |
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:
1SQLCA.DBParm="Namespace='System.Data.OleDb'"