net10.0
namespace Microsoft.EntityFrameworkCore.Metadata.Internal
{
    public class ForeignKey : ConventionAnnotatable, IAnnotatable, IReadOnlyAnnotatable, IConventionAnnotatable, IConventionForeignKey, IForeignKey, IMutableAnnotatable, IMutableForeignKey, IRuntimeForeignKey, IReadOnlyForeignKey
    {
        public static bool AreCompatible(EntityType! principalEntityType, EntityType! dependentEntityType, MemberInfo? navigationToPrincipal, MemberInfo? navigationToDependent, IReadOnlyList<IReadOnlyProperty!>? dependentProperties, IReadOnlyList<IReadOnlyProperty!>? principalProperties, bool? unique, bool shouldThrow);
    }
}
.NET
10.0
Information specific to net10.0
Assembly

Microsoft.EntityFrameworkCore , Version=10.0.1.0, PublicKeyToken=adb9793829ddae60

Referencing

Your project needs a package reference to Microsoft.EntityFrameworkCore.

Package Microsoft.EntityFrameworkCore (10.0.1) net10.0
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API