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.4.0.0 (5.4.0)
Syntax public static void AddConnectionString(
string key,
string connectionString
)
Public Shared Sub AddConnectionString (
key As String,
connectionString As String
)
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