CoreStateGetDriverInstanceFromCache Method |
Gets the driver instance from cache.
Namespace:
SD.LLBLGen.Pro.ApplicationCore.Configuration
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.10.0.0 (5.10.0)
Syntax public DBDriverBase GetDriverInstanceFromCache(
string driverID,
bool reset
)
Public Function GetDriverInstanceFromCache (
driverID As String,
reset As Boolean
) As DBDriverBase
Parameters
- driverID
- Type: SystemString
The driver ID. - reset
- Type: SystemBoolean
if set to true, the driver instance is reset before it's returned.
Return Value
Type:
DBDriverBase
the cached driver instance, or null if not found.
See Also