Powered by Zoomin Software. For more details please contactZoomin

DataDirect Connect for ADO.NET Data Provider Help

Connection String Options

  • Last Updated: April 16, 2026
  • 6 minute read
    • ADO.NET
    • Documentation

Connection string options can be defined directly in a connection string, or set in the Advanced Properties dialog box in Visual Studio (see "Defining Connection String Values in Server Explorer").

Constructing a Connection String

OracleConnectionStringBuilder Class lists the connection string options supported by the Oracle data provider, and describes each option. The options have the form:

option=value

Each connection string option value pair is separated by a semicolon. For example:

"Host=Accounting1;Port=1521;Service Name=ORCL;User ID=scott;Password=tiger"

See Using Connection Strings for guidelines for the syntax and use of connection string options.

Defining Connection String Values in Server Explorer

See Creating a New Connection in Server Explorer for more information about using Visual Studio to add and modify connections.

To add a connection:

  1. Right-click the Data Connections node and select Add Connection.... The Add Connection window appears.

    Default values are displayed in the Host, Port, and Collection fields of the Add Connection window .

    Do one of the following steps:

    • If the Oracle data provider is not selected, click Change, and continue at Step 2.
    • If the Oracle data provider is selected, skip to Step 3.
  2. Select the Oracle data provider. The Change Data Source window appears.

    From a list of data sources in the Data source list box, DataDirect Technologies is selected. The DataDirect Connect for ADO.NET Oracle data provider is selected in the Data provider drop-down list. The Always use this selection check box is selected.

    Do the following steps:

    a. In the Data source list box, select Progress DataDirect.
    b. In the Data provider drop-down list, select Progress DataDirect Connect for ADO.NET Oracle Data Provider.
    c. If you want to use these selections for other connections, select the Always use this selection check box.
    d. If the Progress DataDirect Connect for ADO.NET Oracle data provider is not listed in the Data provider drop-down list, use the Visual Studio Integration Tool, located in the DataDirect Connect for ADO.NET program group. The product installation automatically integrates the data providers into Visual Studio. However, if you install the data providers before installing Visual Studio, or uninstall and reinstall Visual Studio, the DataDirect data providers will not appear in the Data provider drop-down list until you use the Visual Studio Integration Tool.
    e. Click OK. The Add Connection window appears.

  3. Select the method the data provider will use to connect to the Oracle database.

    • To use a standard connection, select the Standard Connection option. Type the Host, Port, SID, and Service Name. See Oracle Data Provider Connection String Options for a description of these connection options.
    • To use a tnsname.ora file, select the TNSNames Connection option; then, select the server name from the drop-down list.
  4. Choose the type of login authentication for the connection:

    • If you select Use Kerberos Authentication, you do not need to enter a User ID or Password.
    • If you select Use Oracle Authentication, enter the User ID and Password. These values are required for authentication.
    • If you select Use Client Authentication, you do not need to enter a User ID or Password.
    • If you select Use Kerberos & Oracle authentication, enter your Oracle user ID and Password. These values are required for authentication.
  5. (Optional) If you want to save the password for the lifetime of the connection instance defined in Server Explorer, select the Save my password check box.

  6. If you want to change other connection properties, continue to Step 7. Otherwise, click OK and skip to Step 8.

  7. Click Advanced... to specify additional provider-specific property values. The Advanced Properties window appears.

    The Advanced Properties window, with the Host property selected.

    To change the values in the Advanced Properties window, type a value into the field or select a value from a drop-down list. The value is added to the connection string that appears in the field below the description of the property. If you accept the default values, the connection string field remains unchanged. The properties are grouped in the list box in categories. See Oracle Data Provider Connection String Options for a complete list of the properties and their descriptions.

  8. Click Test Connection. At any point during the configuration process, you can click Test Connection to attempt to connect to the data source using the connection properties specified in the Add Connection dialog box.

    Note: If you are configuring alternate servers for use with the connection failover feature, be aware that the Test Connection button tests only the primary server, not the alternate servers.

    • If the data provider can connect, it releases the connection and displays a Test connection succeeded message. Click OK to close the message box and return to the Add Connection window.
    • If the data provider cannot connect because of an incorrect environment or incorrect connection value, it displays an appropriate error message. Click OK to close the message dialog box and return to the Add Connection window.
    • If the data provider requires more information, the connection dialog box is displayed. Enter the required information and click OK to close the connection dialog box and return to the Add Connection window.
  9. Click OK or Cancel to close the Add Connection window. If you click OK, the values you have specified become the defaults when you connect to the data source. You can change these defaults by using this procedure to reconfigure your data source. You can override these defaults by connecting to the data source using a connection string with alternate values.

Default Values for Connection String Options

The connection string options are described in Oracle Data Provider Connection String Options. The following table lists the supported connection string options and their default values.

Default Values for Oracle Data Provider Connection String Options

Connection String Option Default Value
Accounting Info An empty string
Alternate Servers An empty string
Application Name An empty string
Array Send Size 4096
Authentication Method UserIDPassword
Batch Update Behavior ArrayBindWhenPossible
Bulk Load Protocol Auto
Certificate Store Location CurrentUser
Client Host Name An empty string
Client User An empty string
Code Page Override None
Commit Behavior ServerDefault
Common Work Arounds 0
Connection Pool Behavior LeastRecentlyUsed
Connection Reset False
Connection Retry Count 0
Connection Retry Delay 3
Connection Timeout 15
Credentials Cache MSLSA:
Cursor Description Cache True
Data Integrity Level Accepted
Data Integrity Types All
Data Source An empty string
Enable Manual Enlistment False
Enable Server Result Cache False
Enable Trace 0
Enable XA True
Encryption Level Accepted
Encryption Method NoEncryption
Encryption Types All
Enlist False
Fetch Array Size 64000
Floating Point Parameter Behavior Default
GSS Client An empty string
Host An empty string
Host Name In Certificate An empty string
Initial Command Timeout 30
Initialization String An empty string
Kerberos Config Path An empty string
License Path An empty string
Load Balance Timeout 0
Load Balancing False
Max Pool Size 100
Max Pool Size Behavior HardCap
Max Statement Cache Size 10
Min Pool Size 0
Number As Double False
Packet Buffer Size 16000
Parameter Mode ADO.NET data provider: ANSI
Entity Framework data provider: BindByName
Password An empty string
Persist Security Info False
Pooling True
Port 1521
Procedure Description Cache True
Program ID An empty string
Reauthentication Enabled False
Ref Cursor Mode Implicit
Schema Collection Timeout 120
Schema Options 0x40 or ShowViewDefinitions
Server An empty string
Server Type An empty string
Service Name An empty string
Session Data Unit 16384
SID An empty string
Statement Cache Mode ExplicitOnly
Support Links False
Synchronize Connection False
TNSNames File An empty string
Trace File An empty string
Transaction Timeout -1
Use Current Schema False
Use Kerberos DotNet False
User ID An empty string
User ID Privilege None
Validate Server Certificate True
Wire Protocol Mode 1
Work Arounds 0
TitleResults for “How to create a CRG?”Also Available inAlert