共用方式為


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 命名空間