Increment the given version number

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

Syntax

C#
public static Object Increment(
	Object version,
	IVersionType versionType,
	ISessionImplementor session
)
Visual Basic
Public Shared Function Increment ( _
	version As Object, _
	versionType As IVersionType, _
	session As ISessionImplementor _
) As Object
Visual C++
public:
static Object^ Increment(
	Object^ version, 
	IVersionType^ versionType, 
	ISessionImplementor^ session
)

Parameters

version
Type: System..::..Object
The value of the current version.
versionType
Type: NHibernate.Type..::..IVersionType
The IVersionType of the versioned property.
session
Type: NHibernate.Engine..::..ISessionImplementor
The current ISession.

Return Value

Returns the next value for the version.

See Also