Return an IdentifierValue for the specified unsaved-value. If none is specified, guess the unsaved value by instantiating a test instance of the class and reading it's id property, or if that is not possible, using the java default value for the type

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

Syntax

C#
public static IdentifierValue GetUnsavedIdentifierValue(
	string unsavedValue,
	IGetter identifierGetter,
	IType identifierType,
	ConstructorInfo constructor
)
Visual Basic
Public Shared Function GetUnsavedIdentifierValue ( _
	unsavedValue As String, _
	identifierGetter As IGetter, _
	identifierType As IType, _
	constructor As ConstructorInfo _
) As IdentifierValue
Visual C++
public:
static IdentifierValue^ GetUnsavedIdentifierValue(
	String^ unsavedValue, 
	IGetter^ identifierGetter, 
	IType^ identifierType, 
	ConstructorInfo^ constructor
)

Parameters

unsavedValue
Type: System..::..String

[Missing <param name="unsavedValue"/> documentation for "M:NHibernate.Engine.UnsavedValueFactory.GetUnsavedIdentifierValue(System.String,NHibernate.Properties.IGetter,NHibernate.Type.IType,System.Reflection.ConstructorInfo)"]

identifierGetter
Type: NHibernate.Properties..::..IGetter

[Missing <param name="identifierGetter"/> documentation for "M:NHibernate.Engine.UnsavedValueFactory.GetUnsavedIdentifierValue(System.String,NHibernate.Properties.IGetter,NHibernate.Type.IType,System.Reflection.ConstructorInfo)"]

identifierType
Type: NHibernate.Type..::..IType

[Missing <param name="identifierType"/> documentation for "M:NHibernate.Engine.UnsavedValueFactory.GetUnsavedIdentifierValue(System.String,NHibernate.Properties.IGetter,NHibernate.Type.IType,System.Reflection.ConstructorInfo)"]

constructor
Type: System.Reflection..::..ConstructorInfo

[Missing <param name="constructor"/> documentation for "M:NHibernate.Engine.UnsavedValueFactory.GetUnsavedIdentifierValue(System.String,NHibernate.Properties.IGetter,NHibernate.Type.IType,System.Reflection.ConstructorInfo)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Engine.UnsavedValueFactory.GetUnsavedIdentifierValue(System.String,NHibernate.Properties.IGetter,NHibernate.Type.IType,System.Reflection.ConstructorInfo)"]

See Also