ConventionPrimitivePropertyConfiguration.IsKey Method ()
Configures this property to be part of the entity type's primary key.
Assembly: EntityFramework (in EntityFramework.dll)
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.ConventionPrimitivePropertyConfigurationThe same ConventionPrimitivePropertyConfiguration instance so that multiple calls can be chained.