Eloquera Database
DB Constructor (connectionString)
NamespacesEloquera.ClientDBDB(String)
This constructor allows to create and establish a new connection to the server. User can specify a connection string with the server name, database name, etc.
Declaration Syntax
C#Visual BasicVisual C++
public DB(
	string connectionString
)
Public Sub New ( _
	connectionString As String _
)
public:
DB(
	String^ connectionString
)
Parameters
connectionString (String)
The connection string contains all required parameters to establish a connection to the server.
Remarks
The connection string has the following form: server=ServerName;database=DatabaseName;user=UserName;password=UserPassword;options=SomeOptions where ServerName, DatabaseName, UserName, UserPassword represent a network name of the server with the Eloquera server, the database name on that server, the user name and the password to authenticate on the server, respectively. The
CopyC#
options
parameter is not compulsory and is currently ignored.
CopyC#
DB db = new DB("server=(local);password=pwd;options=none;"); //local server
DB db = new DB("server=localhost;user=sys;password=pwd;options=none;"); //remote server

Assembly: Eloquera.Client (Module: Eloquera.Client) Version: 4.5.0.0 (4.5.0.0)