Retrieve the cached database snapshot for the requested entity key.
            
Namespace: NHibernate.EngineAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# | 
|---|
public Object[] GetCachedDatabaseSnapshot( EntityKey key )  | 
| Visual Basic | 
|---|
Public Function GetCachedDatabaseSnapshot ( _ key As EntityKey _ ) As Object()  | 
| Visual C++ | 
|---|
public: virtual array<Object^>^ GetCachedDatabaseSnapshot( EntityKey^ key ) sealed  | 
Parameters
- key
 - Type: NHibernate.Engine..::..EntityKey
The entity key for which to retrieve the cached snapshot 
Return Value
The cached snapshotImplements
IPersistenceContext..::..GetCachedDatabaseSnapshot(EntityKey)
Remarks
- no snapshot is obtained from the database if not already cached
 - an entry of NO_ROW here is interpreted as an exception