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# |
---|
Object[] GetCachedDatabaseSnapshot( EntityKey key ) |
Visual Basic |
---|
Function GetCachedDatabaseSnapshot ( _ key As EntityKey _ ) As Object() |
Visual C++ |
---|
array<Object^>^ GetCachedDatabaseSnapshot( EntityKey^ key ) |
Parameters
- key
- Type: NHibernate.Engine..::..EntityKey
The entity key for which to retrieve the cached snapshot
Return Value
The cached snapshotRemarks
- no snapshot is obtained from the database if not already cached
- an entry of NO_ROW here is interpreted as an exception