When implemented by a class, increments the version.

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

Syntax

C#
Object Next(
	Object current,
	ISessionImplementor session
)
Visual Basic
Function Next ( _
	current As Object, _
	session As ISessionImplementor _
) As Object
Visual C++
Object^ Next(
	Object^ current, 
	ISessionImplementor^ 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