Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal
  3. KeyDiscoveryConvention
  4. Apply(InternalEntityTypeBuilder)
  • KeyDiscoveryConvention
    • KeyDiscoveryConvention()
    • KeyDiscoveryConvention(IDiagnosticsLogger<Model>)
    • Apply(InternalEntityTypeBuilder)
    • Apply(InternalPropertyBuilder)
    • Apply(InternalRelationshipBuilder)
    • Apply(InternalEntityTypeBuilder, EntityType)
    • Apply(InternalEntityTypeBuilder, ForeignKey)
    • Apply(InternalEntityTypeBuilder, Key)
    • Apply(InternalPropertyBuilder, FieldInfo)
    • DiscoverKeyProperties(EntityType, IReadOnlyList<Property>)
netcoreapp2.2
namespace Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal
{
    public class KeyDiscoveryConvention : IBaseTypeChangedConvention, IEntityTypeAddedConvention, IForeignKeyAddedConvention, IForeignKeyOwnershipChangedConvention, IForeignKeyRemovedConvention, IForeignKeyUniquenessChangedConvention, IKeyRemovedConvention, IPropertyAddedConvention, IPropertyFieldChangedConvention
    {
        public virtual InternalEntityTypeBuilder Apply(InternalEntityTypeBuilder entityTypeBuilder);
    }
}
.NET Core
2.02.12.2
Information specific to netcoreapp2.2
Assembly

Microsoft.EntityFrameworkCore , Version=2.2.6.0, PublicKeyToken=adb9793829ddae60

Referencing

The API is automatically referenced.

Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API
Search

03/18/2025
An error has occurred. This application may no longer respond until reloaded. Reload 🗙