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



clearQueryCache
Removes the entity from the EntityManager cache.

Syntax

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

Parameters

clearQueryCache

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.