| Visual Basic (Declaration) | |
|---|---|
<ExtensionAttribute()> Public Shared Sub Delete( _ ByVal entity As EntityAspect _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim entity As EntityAspect EntityAspectExtensions.Delete(entity) | |
| C# | |
|---|---|
[ExtensionAttribute()] public static void Delete( EntityAspect entity ) | |
| C++/CLI | |
|---|---|
[ExtensionAttribute()] public: static void Delete( EntityAspect^ entity ) | |
Parameters
- entity
You must call IdeaBlade.EntityModel.EntityManager.SaveChanges to persist this change to the backend data source.
The IdeaBlade.EntityModel.EntityGroup.EntityChanging and IdeaBlade.EntityModel.EntityGroup.EntityChanged events will fire during a Delete call with an EntityAction of IdeaBlade.EntityModel.EntityAction.Delete.
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