Edit

Share via


EntityDataSourceChangingEventArgs Class

Definition

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

public ref class EntityDataSourceChangingEventArgs : System::ComponentModel::CancelEventArgs
public class EntityDataSourceChangingEventArgs : System.ComponentModel.CancelEventArgs
type EntityDataSourceChangingEventArgs = class
    inherit CancelEventArgs
Public Class EntityDataSourceChangingEventArgs
Inherits CancelEventArgs
Inheritance
EntityDataSourceChangingEventArgs

Properties

Cancel

Gets or sets a value indicating whether the event should be canceled.

(Inherited from CancelEventArgs)
Context

Gets the ObjectContext used by the data source.

Entity

Gets the object being added, modified, or updated.

Exception

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

ExceptionHandled

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

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to