EntityTypeBase.KeyProperties Property

 

Gets the list of all the key properties for this entity type.

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

public virtual ReadOnlyMetadataCollection<EdmProperty> KeyProperties { get; }

Property Value

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

The list of all the key properties for this entity type.