IdeaBlade DevForce 2010 Help Reference
RemoveFromManager() Method
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityAspect Class > RemoveFromManager Method : RemoveFromManager() Method



Removes the entity from the EntityManager cache.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub RemoveFromManager() 
Visual Basic (Usage)Copy Code
Dim instance As EntityAspect
 
instance.RemoveFromManager()
C# 
public void RemoveFromManager()
C++/CLI 
public:
void RemoveFromManager(); 

Remarks

The Entity will be in a "detached" state after the remove. RemoveFromManager and IdeaBlade.EntityModel.EntityManager.RemoveEntity(IdeaBlade.EntityModel.Entity) can be used interchangeably. Calling RemoveFromManager also clears the EntityManager's EntityManager.QueryCache.

This does not delete the object from the backend server. To delete an entity, use the IdeaBlade.EntityModel.Entity.Delete method.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.