KeyDiscoveryConvention Class
Represents a base class for conventions that discover primary key properties.
Assembly: EntityFramework (in EntityFramework.dll)
System.Object
System.Data.Entity.ModelConfiguration.Conventions.KeyDiscoveryConvention
System.Data.Entity.ModelConfiguration.Conventions.IdKeyDiscoveryConvention
System.Data.Entity.ModelConfiguration.Conventions.KeyDiscoveryConvention
System.Data.Entity.ModelConfiguration.Conventions.IdKeyDiscoveryConvention
Name | Description | |
---|---|---|
![]() | KeyDiscoveryConvention() | Initializes a new instance of the KeyDiscoveryConvention class. |
Name | Description | |
---|---|---|
![]() | Apply(EntityType, DbModel) | Applies this convention to an item in the model. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MatchKeyProperty(EntityType, IEnumerable<EdmProperty>) | When overriden returns the subset of properties that will be part of the primary key. |
![]() | 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.