EntityDataSourceChangingEventArgs Properties

The EntityDataSourceChangingEventArgs type exposes the following members.

  Name Description
Public property Cancel Gets or sets a value indicating whether the event should be canceled. (Inherited from CancelEventArgs.)
Public property Context Gets the ObjectContext used by the data source.
Public property Entity Gets the object being added, modified, or updated.
Public property Exception Gets the exception that was thrown while the data was being validated before the insert, update, or delete operation.
Public property ExceptionHandled Gets or sets a value that indicates whether the exception was handled and that it should not be thrown again.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft