Retrieve the current state of the natural-id properties from the database.

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

Syntax

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

Parameters

id
Type: System..::..Object
The identifier of the entity for which to retrieve the naturak-id values.
session
Type: NHibernate.Engine..::..ISessionImplementor
The session from which the request originated.

Return Value

The natural-id snapshot.

See Also