EdmModel.AssociationTypes 属性
[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]
获取模型中的关联类型。
命名空间: System.Data.Entity.Core.Metadata.Edm
程序集: EntityFramework(在 EntityFramework.dll 中)
语法
声明
Public ReadOnly Property AssociationTypes As IEnumerable(Of AssociationType)
Get
用法
Dim instance As EdmModel
Dim value As IEnumerable(Of AssociationType)
value = instance.AssociationTypes
public IEnumerable<AssociationType> AssociationTypes { get; }
public:
property IEnumerable<AssociationType^>^ AssociationTypes {
IEnumerable<AssociationType^>^ get ();
}
member AssociationTypes : IEnumerable<AssociationType>
function get AssociationTypes () : IEnumerable<AssociationType>
属性值
类型:System.Collections.Generic.IEnumerable<AssociationType>