Generate a new String for the identifier using the "uuid.hex" algorithm.

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

Syntax

C#
public virtual Object Generate(
	ISessionImplementor session,
	Object obj
)
Visual Basic
Public Overridable Function Generate ( _
	session As ISessionImplementor, _
	obj As Object _
) As Object
Visual C++
public:
virtual Object^ Generate(
	ISessionImplementor^ session, 
	Object^ obj
)

Parameters

session
Type: NHibernate.Engine..::..ISessionImplementor
The ISessionImplementor this id is being generated in.
obj
Type: System..::..Object
The entity for which the id is being generated.

Return Value

The new identifier as a String.

Implements

IIdentifierGenerator..::..Generate(ISessionImplementor, Object)

See Also