EntityDataSourceChangingEventArgs EntityDataSourceChangingEventArgs EntityDataSourceChangingEventArgs 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
EntityDataSourceChangingEventArgsEntityDataSourceChangingEventArgsEntityDataSourceChangingEventArgsEntityDataSourceChangingEventArgs

Properties

Cancel Cancel Cancel Cancel

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

(Inherited from CancelEventArgs)
Context Context Context Context

Gets the ObjectContext used by the data source.

Entity Entity Entity Entity

Gets the object being added, modified, or updated.

Exception Exception Exception Exception

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

ExceptionHandled ExceptionHandled ExceptionHandled ExceptionHandled

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

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to