NPersistence Reference Guide
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Return an object of the specified type to allow access to
the provider-specific API. If the provider's query
implementation does not support the specified class, the
PersistenceException is thrown.
Namespace: NPersistenceAssembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
T Unwrap<T>( Type cls )
Parameters
- cls
- Type
the class of the object to be returned. This is
Type Parameters
- T
Return Value
an instance of the specified classExceptions
Exception | Condition |
---|---|
NPersistence..::..PersistenceException | if the provider does not support the call |