DataConnectionFactoryGetNativeConnection Method |
Returns a new database connection.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax public static IDataConnection GetNativeConnection(
string connectionString,
bool newConnection = false
)
Parameters
- connectionString
- Type: SystemString
Connection string - newConnection (Optional)
- Type: SystemBoolean
If true, a new connection instance is created
Return Value
Type:
IDataConnectionSee Also