QuickObjects.DBLibrary Send comments on this topic.
ConnectionString Property
See Also 
Akal.QuickObjects.DBLibrary Namespace > DatabaseObject Class : ConnectionString Property

ConnectionString

Holds the value for connection String used to make a connection to the target database.

This property is automatically initialized with the value from the application configuration settings. The value of ConnectionStringConfigName is used to look for the connection String from the application settings (AppSettings/Keys in Framework 1.1 and ConnectionSettings/Connections in Framework 2.0)..

This property can also be manually set to point the library to a database other than the default. This will be useful if you need the library to connect to multiple database.


myBusinessObj.ConnectionString = "Server=.\SQLExpress;Database=SqlSample;User ID=my_id;Password=my_pass;User Instance=false;

Syntax

C# 
[XmlIgnoreAttribute()]
public string ConnectionString {get; set;}

Requirements

Target Platforms: .NET Framework 1.1 or .NET Framework 2.0

See Also