If a deleted entity instance is re-saved, and it has a proxy, we need to
reset the identifier of the proxy
Namespace: NHibernate.EngineAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public void ReassociateProxy( Object value, Object id ) |
Visual Basic |
---|
Public Sub ReassociateProxy ( _ value As Object, _ id As Object _ ) |
Visual C++ |
---|
public: virtual void ReassociateProxy( Object^ value, Object^ id ) sealed |
Parameters
- value
- Type: System..::..Object
[Missing <param name="value"/> documentation for "M:NHibernate.Engine.StatefulPersistenceContext.ReassociateProxy(System.Object,System.Object)"]
- id
- Type: System..::..Object
[Missing <param name="id"/> documentation for "M:NHibernate.Engine.StatefulPersistenceContext.ReassociateProxy(System.Object,System.Object)"]