EntityTypeBase.KeyMembers Property

 

Gets the list of all the key members for the current entity or relationship type.

Namespace:   System.Data.Entity.Core.Metadata.Edm
Assembly:  EntityFramework (in EntityFramework.dll)

public virtual ReadOnlyMetadataCollection<EdmMember> KeyMembers { get; }

Property Value

Type: System.Data.Entity.Core.Metadata.Edm.ReadOnlyMetadataCollection<EdmMember>

A ReadOnlyMetadataCollection<T> object that represents the list of key members for the current entity or relationship type.