Get the current database state of the object, in a "hydrated" form, without resolving identifiers

Namespace: NHibernate.Persister.Entity
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

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

Parameters

id
Type: System..::..Object

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

session
Type: NHibernate.Engine..::..ISessionImplementor

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

Return Value

nullNothingnullptra null reference (Nothing in Visual Basic) if select-before-update is not enabled or not supported

See Also