If a deleted entity instance is re-saved, and it has a proxy, we need to reset the identifier of the proxy

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

Syntax

C#
void ReassociateProxy(
	Object value,
	Object id
)
Visual Basic
Sub ReassociateProxy ( _
	value As Object, _
	id As Object _
)
Visual C++
void ReassociateProxy(
	Object^ value, 
	Object^ id
)

Parameters

value
Type: System..::..Object

[Missing <param name="value"/> documentation for "M:NHibernate.Engine.IPersistenceContext.ReassociateProxy(System.Object,System.Object)"]

id
Type: System..::..Object

[Missing <param name="id"/> documentation for "M:NHibernate.Engine.IPersistenceContext.ReassociateProxy(System.Object,System.Object)"]

See Also