KeyDiscoveryConvention KeyDiscoveryConvention Class

Definition

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public class KeyDiscoveryConvention : IEntityTypeConvention, IPropertyConvention, IBaseTypeConvention, IPropertyFieldChangedConvention
Public Class KeyDiscoveryConvention
    Implements IEntityTypeConvention, IPropertyConvention, IBaseTypeConvention, IPropertyFieldChangedConvention
Inheritance
System.ObjectSystem.Object
KeyDiscoveryConventionKeyDiscoveryConvention
Implements

Methods

Apply(InternalEntityTypeBuilder) Apply(InternalEntityTypeBuilder)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual InternalEntityTypeBuilder Apply(InternalEntityTypeBuilder entityTypeBuilder)
Public Overridable Function Apply(entityTypeBuilder As InternalEntityTypeBuilder) As InternalEntityTypeBuilder
Parameters
Returns

Apply(InternalEntityTypeBuilder, EntityType) Apply(InternalEntityTypeBuilder, EntityType)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual bool Apply(InternalEntityTypeBuilder entityTypeBuilder, EntityType oldBaseType)
Public Overridable Function Apply(entityTypeBuilder As InternalEntityTypeBuilder, oldBaseType As EntityType) As Boolean
Parameters
oldBaseType
EntityType EntityType
Returns
System.Boolean System.Boolean

Apply(InternalPropertyBuilder) Apply(InternalPropertyBuilder)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual InternalPropertyBuilder Apply(InternalPropertyBuilder propertyBuilder)
Public Overridable Function Apply(propertyBuilder As InternalPropertyBuilder) As InternalPropertyBuilder
Parameters
Returns

Apply(InternalPropertyBuilder, FieldInfo) Apply(InternalPropertyBuilder, FieldInfo)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual bool Apply(InternalPropertyBuilder propertyBuilder, FieldInfo oldFieldInfo)
Public Overridable Function Apply(propertyBuilder As InternalPropertyBuilder, oldFieldInfo As FieldInfo) As Boolean
Parameters
oldFieldInfo
System.Reflection.FieldInfo System.Reflection.FieldInfo
Returns
System.Boolean System.Boolean

DiscoverKeyProperties(EntityType, IReadOnlyList) DiscoverKeyProperties(EntityType, IReadOnlyList(Of Property))

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual IReadOnlyList<Property> DiscoverKeyProperties(EntityType entityType, IReadOnlyList<Property> candidateProperties)
Public Overridable Function DiscoverKeyProperties(entityType As EntityType, candidateProperties As IReadOnlyList(Of  Property)) As IReadOnlyList(Of  Property)
Parameters
entityType
EntityType EntityType
candidateProperties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
Returns
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object