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



Marks this Entity for deletion; the EntityState becomes "Deleted".

Syntax

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

Remarks

You must call EntityManager.SaveChanges to persist this change to the backend data source.

The EntityGroup.EntityChanging and EntityGroup.EntityChanged events will fire during a Delete call with an EntityAction of EntityAction.Delete.

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.