DevForce Help Reference
Delete Method (EntityAspect)


Marks this Entity for deletion; the EntityState becomes "Deleted".
Syntax
'Declaration
 
Public Overridable Sub Delete() 
'Usage
 
Dim instance As EntityAspect
 
instance.Delete()
public virtual void Delete()
Remarks
You must call IdeaBlade.EntityModel.EntityManager.SaveChanges() to persist this change to the backend data source.

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

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EntityAspect Class
EntityAspect Members

Send Feedback