Allows handling of the connection strings. See ConnectionString
For a list of all members of this type, see FbConnectionStringBuilder Members.
System.Object
FirebirdSql.Data.Firebird.FbConnectionStringBuilder
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
The following example builds a connection string and prints it in the console.
FbConnectionStringBuilder cs = new FbConnectionStringBuilder();
cs.DataSource = "localhost";
cs.UserID = "SYSDBA";
cs.Password = "masterkey";
cs.Database = "nunit_testdb";
cs.Port = 3050;
cs.Charset = "UNICODE_FSS";
cs.Pooling = true;
cs.ConnectionLifeTime = 30;
// To use the embedded server set the ServerType to 1
cs.ServerType = 0;
Console.WriteLine(cs.ToString());
Namespace: FirebirdSql.Data.Firebird
Assembly: FirebirdSql.Data.Firebird (in FirebirdSql.Data.Firebird.dll)
FbConnectionStringBuilder Members | FirebirdSql.Data.Firebird Namespace