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.EngineAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function GetUnsavedIdentifierValue ( _ unsavedValue As String, _ identifierGetter As IGetter, _ identifierType As IType, _ constructor As ConstructorInfo _ ) As Cascades..::.IdentifierValue |
C# |
---|
public static Cascades..::.IdentifierValue GetUnsavedIdentifierValue( string unsavedValue, IGetter identifierGetter, IType identifierType, ConstructorInfo constructor ) |
Visual C++ |
---|
public: static Cascades..::.IdentifierValue^ GetUnsavedIdentifierValue( String^ unsavedValue, IGetter^ identifierGetter, IType^ identifierType, ConstructorInfo^ constructor ) |
JavaScript |
---|
NHibernate.Engine.UnsavedValueFactory.getUnsavedIdentifierValue = function(unsavedValue, identifierGetter, identifierType, constructor); |
Parameters
- unsavedValue
- Type: System..::.String
- identifierGetter
- Type: NHibernate.Property..::.IGetter
- identifierType
- Type: NHibernate.Type..::.IType
- constructor
- Type: System.Reflection..::.ConstructorInfo