DBDriverBaseCreateDBDriverInstance Method |
Creates an instance of the given class in the given namespace, loaded from the given assembly. Bubbles all exceptions up.
Namespace:
SD.LLBLGen.Pro.DBDriverCore
Assembly:
SD.LLBLGen.Pro.DBDriverCore (in SD.LLBLGen.Pro.DBDriverCore.dll) Version: 5.10.0.0 (5.10.0)
Syntax public static DBDriverBase CreateDBDriverInstance(
Assembly containingAssembly,
string namespaceToUse,
string className
)
Public Shared Function CreateDBDriverInstance (
containingAssembly As Assembly,
namespaceToUse As String,
className As String
) As DBDriverBase
Parameters
- containingAssembly
- Type: System.ReflectionAssembly
The containing assembly. - namespaceToUse
- Type: SystemString
Namespace of the class - className
- Type: SystemString
Class which instance is requested
Return Value
Type:
DBDriverBase
Instance of the class requested, using the IDBDriver interface the class has to implement.
See Also