IdeaBlade DevForce 2010 Help Reference
EntityChanging Event
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityManager Class : EntityChanging Event



Fired whenever an entity's state is changing in any significant manner.

Syntax

Visual Basic (Declaration) 
Public Event EntityChanging As EventHandler(Of EntityChangingEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As EntityManager
Dim handler As EventHandler(Of EntityChangingEventArgs)
 
AddHandler instance.EntityChanging, handler
C# 
public event EventHandler<EntityChangingEventArgs> EntityChanging
C++/CLI 
public:
event EventHandler<EntityChangingEventArgs^>^ EntityChanging

Event Data

The event handler receives an argument of type EntityChangingEventArgs containing data related to this event. The following EntityChangingEventArgs properties provide information specific to this event.

PropertyDescription
Action Action that caused this change.
Cancel (Inherited from IdeaBlade.EntityModel.EntityChangeCancelEventArgs) Gets or sets a value indicating whether the event should be canceled.
Entity (Inherited from IdeaBlade.EntityModel.EntityChangeEventArgs) The object that is changing or has been changed.
EntityAspect (Inherited from IdeaBlade.EntityModel.EntityChangeEventArgs) Returns the EntityAspect for the entity involved in the event.
EntityWrapper (Inherited from IdeaBlade.EntityModel.EntityChangeEventArgs)Gets the EntityChangeEventArgs.EntityWrapper involved in the event.
NativeEntity (Inherited from IdeaBlade.EntityModel.EntityChangeEventArgs) The Entity that is changing or has been changed.

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.