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
实现

注解

IRevertibleChangeTracking 通过添加回滚更改的支持来扩展 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.

适用于