Extract the value of the version property from the given entity.

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

Syntax

C#
Object GetVersion(
	Object entity
)
Visual Basic
Function GetVersion ( _
	entity As Object _
) As Object
Visual C++
Object^ GetVersion(
	Object^ entity
)

Parameters

entity
Type: System..::..Object
The entity from which to extract the version value.

Return Value

The value of the version property, or null if not versioned.

See Also