IRevertibleChangeTracking 介面

定義

提供復原變更的支援。Provides support for rolling back the changes.

public interface class IRevertibleChangeTracking : System::ComponentModel::IChangeTracking
public interface IRevertibleChangeTracking : System.ComponentModel.IChangeTracking
type IRevertibleChangeTracking = interface
    interface IChangeTracking
Public Interface IRevertibleChangeTracking
Implements IChangeTracking
實作

備註

@No__t-0 會藉由新增復原變更的支援來延伸 IChangeTrackingThe IRevertibleChangeTracking extends IChangeTracking by adding support for rolling back the changes.

屬性

IsChanged

取得物件的變更狀態。Gets the object's changed status.

(繼承來源 IChangeTracking)

方法

AcceptChanges()

接受修改,將物件的狀態重設為未變更。Resets the object's state to unchanged by accepting the modifications.

(繼承來源 IChangeTracking)
RejectChanges()

拒絕修改,將物件的狀態重設為未變更。Resets the object's state to unchanged by rejecting the modifications.

適用於