IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityManager Class : EntityChanging Event |
'Declaration
Public Event EntityChanging As EventHandler(Of EntityChangingEventArgs)
'Usage
Dim instance As EntityManager Dim handler As EventHandler(Of EntityChangingEventArgs) AddHandler instance.EntityChanging, handler
public event EventHandler<EntityChangingEventArgs> EntityChanging
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.
Property | Description |
---|---|
Action | Action that caused this change. |
Cancel | Gets or sets a value indicating whether the event should be canceled. (Inherited from IdeaBlade.EntityModel.EntityChangeCancelEventArgs) |
Entity | The object that is changing or has been changed. (Inherited from IdeaBlade.EntityModel.EntityChangeEventArgs) |
EntityAspect | Returns the EntityAspect for the entity involved in the event. (Inherited from IdeaBlade.EntityModel.EntityChangeEventArgs) |
NativeEntity | The Entity that is changing or has been changed. (Inherited from IdeaBlade.EntityModel.EntityChangeEventArgs) |
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