IdKeyDiscoveryConvention.MatchKeyProperty Method (EntityType, IEnumerable<EdmProperty>)
Convention to match the EdmProperty class.
Assembly: EntityFramework (in EntityFramework.dll)
protected override IEnumerable<EdmProperty> MatchKeyProperty( EntityType entityType, IEnumerable<EdmProperty> primitiveProperties )
Parameters
- entityType
-
Type:
System.Data.Entity.Core.Metadata.Edm.EntityType
The entity type.
- primitiveProperties
-
Type:
System.Collections.Generic.IEnumerable<EdmProperty>
The collection of primitive properties.
Return Value
Type: System.Collections.Generic.IEnumerable<EdmProperty>The EdmProperty class to match.