KeyDiscoveryConvention Class

 

Represents a base class for conventions that discover primary key properties.

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 abstract class KeyDiscoveryConvention : IConceptualModelConvention<EntityType>, 
	IConvention

NameDescription
System_CAPS_protmethodKeyDiscoveryConvention()

Initializes a new instance of the KeyDiscoveryConvention class.

NameDescription
System_CAPS_pubmethodApply(EntityType, DbModel)

Applies this convention to an item in the model.

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>)

When overriden returns the subset of properties that will be part of the primary key.

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.