EntityDataSourceChangedEventArgs 类

定义

InsertedUpdatedDeleted 事件提供数据。Provides data for the Inserted, Updated, and Deleted events.

public ref class EntityDataSourceChangedEventArgs : EventArgs
public class EntityDataSourceChangedEventArgs : EventArgs
type EntityDataSourceChangedEventArgs = class
    inherit EventArgs
Public Class EntityDataSourceChangedEventArgs
Inherits EventArgs
继承
EntityDataSourceChangedEventArgs

属性

Context

获取由数据源使用的 ObjectContextGets the ObjectContext used by the data source.

Entity

获取添加、修改或更新的对象。Gets the object that was added, modified, or updated.

Exception

获取在插入、更新或删除操作过程中引发的异常。Gets the exception that was thrown during 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.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于