The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Session.DropIdentityMap() Method

Clears the Identity Map.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.1.dll

Declaration

public void DropIdentityMap()
Public Sub DropIdentityMap
public void DropIdentityMap()
Public Sub DropIdentityMap

Remarks

All the persistent objects loaded using the current session are stored in the Identity Map. The DropIdentityMap method invalidates the object references, enabling the garbage collector to free up the space which is occupied by the session object at a later time.

Calling the DropIdentityMap method has the same effect as reconnecting a session.

See Also