EdmEntityType.DeclaredKey 属性

获取构成实体键的实体类型的结构属性。

命名空间:  Microsoft.Data.Edm.Library
程序集:  Microsoft.Data.Edm(在 Microsoft.Data.Edm.dll 中)

语法

声明
Public Overridable ReadOnly Property DeclaredKey As IEnumerable(Of IEdmStructuralProperty)
    Get
用法
Dim instance As EdmEntityType
Dim value As IEnumerable(Of IEdmStructuralProperty)

value = instance.DeclaredKey
public virtual IEnumerable<IEdmStructuralProperty> DeclaredKey { get; }
public:
virtual property IEnumerable<IEdmStructuralProperty^>^ DeclaredKey {
    IEnumerable<IEdmStructuralProperty^>^ get ();
}
abstract DeclaredKey : IEnumerable<IEdmStructuralProperty>
override DeclaredKey : IEnumerable<IEdmStructuralProperty>
function get DeclaredKey () : IEnumerable<IEdmStructuralProperty>

属性值

类型:System.Collections.Generic.IEnumerable<IEdmStructuralProperty>
实体类型的结构属性。

实现

IEdmEntityType.DeclaredKey

请参阅

参考

EdmEntityType 类

Microsoft.Data.Edm.Library 命名空间