Namespaces

Types

Type IVersionType

Namespace NHibernate.Type

Interfaces IType

Methods

Properties

Public instance methods

object Seed(ISessionImplementor session)

When implemented by a class, gets an initial version.
Parameters
return object
ISessionImplementor session The current session, if available.

object StringToObject(string xml)

When implemented by a class, converts the xml string from the mapping file to the .NET object.
This method needs to be able to handle any string. It should not just call System.Type.Parse without verifying that it is a parsable value for the System.Type.
Parameters
return object The string converted to the object.
string xml The value of discriminator-value or unsaved-value attribute.

Public properties

IComparer Comparator get;

Get a comparator for the version numbers
return IComparer