Set the identifier and version of the given instance back to its "unsaved" value, returning the id

Namespace: NHibernate.Persister.Entity
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
void ResetIdentifier(
	Object entity,
	Object currentId,
	Object currentVersion,
	EntityMode entityMode
)
Visual Basic
Sub ResetIdentifier ( _
	entity As Object, _
	currentId As Object, _
	currentVersion As Object, _
	entityMode As EntityMode _
)
Visual C++
void ResetIdentifier(
	Object^ entity, 
	Object^ currentId, 
	Object^ currentVersion, 
	EntityMode entityMode
)

Parameters

entity
Type: System..::..Object

[Missing <param name="entity"/> documentation for "M:NHibernate.Persister.Entity.IEntityPersister.ResetIdentifier(System.Object,System.Object,System.Object,NHibernate.EntityMode)"]

currentId
Type: System..::..Object

[Missing <param name="currentId"/> documentation for "M:NHibernate.Persister.Entity.IEntityPersister.ResetIdentifier(System.Object,System.Object,System.Object,NHibernate.EntityMode)"]

currentVersion
Type: System..::..Object

[Missing <param name="currentVersion"/> documentation for "M:NHibernate.Persister.Entity.IEntityPersister.ResetIdentifier(System.Object,System.Object,System.Object,NHibernate.EntityMode)"]

entityMode
Type: NHibernate..::..EntityMode

[Missing <param name="entityMode"/> documentation for "M:NHibernate.Persister.Entity.IEntityPersister.ResetIdentifier(System.Object,System.Object,System.Object,NHibernate.EntityMode)"]

See Also