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#
public Object[] GetDatabaseSnapshot(
	Object id,
	IEntityPersister persister
)
Visual Basic
Public Function GetDatabaseSnapshot ( _
	id As Object, _
	persister As IEntityPersister _
) As Object()
Visual C++
public:
virtual array<Object^>^ GetDatabaseSnapshot(
	Object^ id, 
	IEntityPersister^ persister
) sealed

Parameters

id
Type: System..::..Object

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

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

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

Return Value

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

Implements

IPersistenceContext..::..GetDatabaseSnapshot(Object, IEntityPersister)

See Also