NPersistence Reference Guide
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Check if the instance is a managed entity instance belonging
to the current persistence context.
Namespace: NPersistenceAssembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
bool Contains( Object entity )
Parameters
- entity
- Object
entity instance
Return Value
boolean indicating if entity is in persistence contextExceptions
Exception | Condition |
---|---|
System..::..ArgumentException | if not an entity |