IEntityWithChangeTracker 接口
[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]
数据类必须实现以便由更改跟踪器进行管理的最小接口。
命名空间: System.Data.Entity.Core.Objects.DataClasses
程序集: EntityFramework(在 EntityFramework.dll 中)
语法
声明
Public Interface IEntityWithChangeTracker
用法
Dim instance As IEntityWithChangeTracker
public interface IEntityWithChangeTracker
public interface class IEntityWithChangeTracker
type IEntityWithChangeTracker = interface end
public interface IEntityWithChangeTracker
IEntityWithChangeTracker 类型公开以下成员。
方法
名称 | 描述 | |
---|---|---|
SetChangeTracker | 获取或设置用于报告更改的 IEntityChangeTracker。 |
顶部