EdmEntityType.DeclaredKey Property

Gets the structural properties of the entity type that make up the entity key.

Namespace:  Microsoft.Data.Edm.Library
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property DeclaredKey As IEnumerable(Of IEdmStructuralProperty)
    Get
'Usage
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>

Property Value

Type: System.Collections.Generic.IEnumerable<IEdmStructuralProperty>
The structural properties of the entity type.

Implements

IEdmEntityType.DeclaredKey

See Also

Reference

EdmEntityType Class

Microsoft.Data.Edm.Library Namespace