Get the current state of the entity as known to the underlying database, or null if there is no corresponding row

Namespace: NHibernate.Engine
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
Object[] GetDatabaseSnapshot(
	Object id,
	IEntityPersister persister
)
Visual Basic
Function GetDatabaseSnapshot ( _
	id As Object, _
	persister As IEntityPersister _
) As Object()
Visual C++
array<Object^>^ GetDatabaseSnapshot(
	Object^ id, 
	IEntityPersister^ persister
)

Parameters

id
Type: System..::..Object

[Missing <param name="id"/> documentation for "M:NHibernate.Engine.IPersistenceContext.GetDatabaseSnapshot(System.Object,NHibernate.Persister.Entity.IEntityPersister)"]

persister
Type: NHibernate.Persister.Entity..::..IEntityPersister

[Missing <param name="persister"/> documentation for "M:NHibernate.Engine.IPersistenceContext.GetDatabaseSnapshot(System.Object,NHibernate.Persister.Entity.IEntityPersister)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Engine.IPersistenceContext.GetDatabaseSnapshot(System.Object,NHibernate.Persister.Entity.IEntityPersister)"]

See Also