KeyDiscoveryConvention KeyDiscoveryConvention Class

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.

Syntax

Declaration

public class KeyDiscoveryConvention : IEntityTypeConvention, IPropertyConvention, IBaseTypeConvention, IPropertyFieldChangedConventionPublic Class KeyDiscoveryConvention
    Implements IEntityTypeConvention, IPropertyConvention, IBaseTypeConvention, IPropertyFieldChangedConvention

Inheritance Hierarchy

  • System.Object
    System.Object
  • KeyDiscoveryConvention
    KeyDiscoveryConvention

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Methods summary

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.

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.

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.

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.

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.

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

    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

    Returns

    • System.Boolean
      System.Boolean
  • DiscoverKeyProperties(EntityType, IReadOnlyList<Property>)
    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

    Returns

    • System.Collections.Generic.IReadOnlyList<T><Property>
      System.Collections.Generic.IReadOnlyList<T>(Of Property)

Details

Assembly

Microsoft.EntityFrameworkCore.dll