NPersistence Reference Guide
Whether the cache contains data for the given entity. entity class primary key

Return Value

boolean indicating whether the entity is in the cache

Namespace: NPersistence
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

   
 C# 
bool Contains(
	Type cls,
	Object primaryKey
)

Parameters

cls
Type
primaryKey
Object

See Also