Top
Symfoware Server V12.1.0 Application Development Guide
FUJITSU Software

4.3.1 Using NpgsqlConnection

Connect to the database by specifying the connection string.

Example

Code examples for applications

using Npgsql;

NpgsqlConnection conn = new NpgsqlConnection("Server=sv1;Port=26500;Database=mydb; User Id=myuser;Password=myuser01; Timeout=20;CommandTimeout=20;");

Refer to "4.3.4 Connection String" for information on database connection strings.