.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal
  3. ForeignKeyPropertyDiscoveryConvention
  4. Apply(InternalEntityTypeBuilder, String)
  • ForeignKeyPropertyDiscoveryConvention
    • ForeignKeyPropertyDiscoveryConvention()
    • ForeignKeyPropertyDiscoveryConvention(IDiagnosticsLogger<Model>)
    • Apply(InternalKeyBuilder)
    • Apply(InternalModelBuilder)
    • Apply(InternalPropertyBuilder)
    • Apply(InternalRelationshipBuilder)
    • Apply(InternalEntityTypeBuilder, Key)
    • Apply(InternalEntityTypeBuilder, String)
    • Apply(InternalPropertyBuilder, FieldInfo)
    • Apply(InternalRelationshipBuilder, Navigation)
netcoreapp2.2
namespace Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal
{
    public class ForeignKeyPropertyDiscoveryConvention : IEntityTypeMemberIgnoredConvention, IForeignKeyAddedConvention, IForeignKeyRequirednessChangedConvention, IForeignKeyUniquenessChangedConvention, IKeyAddedConvention, IKeyRemovedConvention, IModelBuiltConvention, INavigationAddedConvention, IPrimaryKeyChangedConvention, IPrincipalEndChangedConvention, IPropertyAddedConvention, IPropertyFieldChangedConvention
    {
        public virtual bool Apply(InternalEntityTypeBuilder entityTypeBuilder, string ignoredMemberName);
    }
}
.NET Core 2.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 🗙