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.
Assembly: EntityFramework (in EntityFramework.dll)
System.Data.Entity.ModelConfiguration.Conventions.KeyDiscoveryConvention
System.Data.Entity.ModelConfiguration.Conventions.IdKeyDiscoveryConvention
Name | Description | |
---|---|---|
![]() | IdKeyDiscoveryConvention() | Initializes a new instance of the IdKeyDiscoveryConvention class. |
Name | Description | |
---|---|---|
![]() | Apply(EntityType, DbModel) | Applies this convention to an item in the model.(Inherited from KeyDiscoveryConvention.) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MatchKeyProperty(EntityType, IEnumerable<EdmProperty>) | Convention to match the EdmProperty class.(Overrides KeyDiscoveryConvention.MatchKeyProperty(EntityType, IEnumerable<EdmProperty>).) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (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.