NPersistence Reference Guide
Return an object of the specified type to allow access to the provider-specific API. If the provider's EntityManager implementation does not support the specified class, the PersistenceException is thrown.

Namespace: NPersistence
Assembly: 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 class

Exceptions

ExceptionCondition
NPersistence..::..PersistenceException if the provider does not support the call

See Also