Create an initial version number

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

Syntax

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

Parameters

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

Return Value

A seed value to initialize the versioned property with.

See Also