IEntityWithRelationships 接口

[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]

在公开关系时数据类必须实现的接口

命名空间:  System.Data.Entity.Core.Objects.DataClasses
程序集:  EntityFramework(在 EntityFramework.dll 中)

语法

声明
Public Interface IEntityWithRelationships
用法
Dim instance As IEntityWithRelationships
public interface IEntityWithRelationships
public interface class IEntityWithRelationships
type IEntityWithRelationships =  interface end
public interface IEntityWithRelationships

IEntityWithRelationships 类型公开以下成员。

属性

  名称 描述
公共属性 RelationshipManager 返回关系管理器,该管理器管理实体类型的实例的关系。

顶部

请参阅

参考

System.Data.Entity.Core.Objects.DataClasses 命名空间