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()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於