IdKeyDiscoveryConvention Class

 

Convention to detect primary key properties. Recognized naming patterns in order of precedence are: 1. 'Id' 2. [type name]Id Primary key detection is case insensitive.

Namespace:   System.Data.Entity.ModelConfiguration.Conventions
Assembly:  EntityFramework (in EntityFramework.dll)

System.Object
  System.Data.Entity.ModelConfiguration.Conventions.KeyDiscoveryConvention
    System.Data.Entity.ModelConfiguration.Conventions.IdKeyDiscoveryConvention

public class IdKeyDiscoveryConvention : KeyDiscoveryConvention

NameDescription
System_CAPS_pubmethodIdKeyDiscoveryConvention()

Initializes a new instance of the IdKeyDiscoveryConvention class.

NameDescription
System_CAPS_pubmethodApply(EntityType, DbModel)

Applies this convention to an item in the model.(Inherited from KeyDiscoveryConvention.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMatchKeyProperty(EntityType, IEnumerable<EdmProperty>)
System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.