IEntityWithKey 接口
[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]
定义包含键的实体的接口。
命名空间: System.Data.Entity.Core.Objects.DataClasses
程序集: EntityFramework(在 EntityFramework.dll 中)
语法
声明
Public Interface IEntityWithKey
用法
Dim instance As IEntityWithKey
public interface IEntityWithKey
public interface class IEntityWithKey
type IEntityWithKey = interface end
public interface IEntityWithKey
IEntityWithKey 类型公开以下成员。
属性
名称 | 描述 | |
---|---|---|
EntityKey | 为实现此接口的实体类型的实例获取或设置 EntityKey。 |
顶部