Using Connection Strings
You can define the behavior of a connection using a connection string or the properties of the PsqlConnection object.
However, values set in the connection string cannot be changed by the connection properties.
The basic format of a connection string includes a series of keyword/value pairs separated by semicolons. The following example shows the keywords and values for a simple connection string for the PSQL data provider:
"Server DSN=SERVERDEMO;Host=localhost"
Guidelines
Use the following guidelines when specifying a connection string:
Initialization String=update mytable set col1 == 'foo'"
"Server DSN=SERVERDEMO;Host=localhost;Connection Timeout=15;Min Pool Size=50;Connection Timeout=35"
See Table 27 for a list of the supported connection string options.
Using the PSQL Performance Tuning Wizard
You can use the Performance Wizard to select the optimal connection string options for both the ADO.NET data provider or the ADO.NET Entity Framework data provider.
See Using the PSQL Performance Tuning Wizard for more information.