Click or drag to resize

RuntimeConfigurationAddConnectionString Method

Adds the connectionstring specified to the configuration, under the key specified. If a connectionstring with the key specified is already present it is overwritten with the specified connectionstring

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
public static void AddConnectionString(
	string key,
	string connectionString
)

Parameters

key
Type: SystemString
The key the connectionstring has to be stored under. Has to be unique
connectionString
Type: SystemString
The connectionstring to add. Can't be empty.
See Also