EntityDataSourceChangingEventArgs Class

 

Provides data for the Inserting, Updating, and Deleting events.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web.Entity (in System.Web.Entity.dll)

System.Object
  System.EventArgs
    System.ComponentModel.CancelEventArgs
      System.Web.UI.WebControls.EntityDataSourceChangingEventArgs

type EntityDataSourceChangingEventArgs = 
    class
        inherit CancelEventArgs
    end

NameDescription
System_CAPS_pubpropertyCancel

Gets or sets a value indicating whether the event should be canceled.(Inherited from CancelEventArgs.)

System_CAPS_pubpropertyContext

Gets the ObjectContext used by the data source.

System_CAPS_pubpropertyEntity

Gets the object being added, modified, or updated.

System_CAPS_pubpropertyException

Gets the exception that was thrown while the data was being validated before the insert, update, or delete operation.

System_CAPS_pubpropertyExceptionHandled

Gets or sets a value that indicates whether the exception was handled and that it should not be thrown again.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 3.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: