Inject the given identifier and version into the entity, in order to
"roll back" to their original values.
Namespace: NHibernate.Tuple.EntityAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
void ResetIdentifier( Object entity, Object currentId, Object currentVersion ) |
Visual Basic |
---|
Sub ResetIdentifier ( _ entity As Object, _ currentId As Object, _ currentVersion As Object _ ) |
Visual C++ |
---|
void ResetIdentifier( Object^ entity, Object^ currentId, Object^ currentVersion ) |
Parameters
- entity
- Type: System..::..Object
[Missing <param name="entity"/> documentation for "M:NHibernate.Tuple.Entity.IEntityTuplizer.ResetIdentifier(System.Object,System.Object,System.Object)"]
- currentId
- Type: System..::..Object
The identifier value to inject into the entity.
- currentVersion
- Type: System..::..Object
The version value to inject into the entity.