When implemented by a class, increments the version.

Namespace:  NHibernate.Type
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Function Next ( _
	current As Object, _
	session As ISessionImplementor _
) As Object
C#
Object Next(
	Object current,
	ISessionImplementor session
)
Visual C++
Object^ Next(
	Object^ current, 
	ISessionImplementor^ session
)
JavaScript
function next(current, session);

Parameters

current
Type: System..::.Object
The current version
session
Type: NHibernate.Engine..::.ISessionImplementor
The current session, if available.

Return Value

an instance of the IType that has been incremented.

See Also