ForeignKeyComparer ForeignKeyComparer 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 ForeignKeyComparer : IEqualityComparer<IForeignKey>, IComparer<IForeignKey>Public Class ForeignKeyComparer
    Implements IEqualityComparer(Of IForeignKey), IComparer(Of IForeignKey)

Inheritance Hierarchy

  • System.Object
    System.Object
  • ForeignKeyComparer
    ForeignKeyComparer

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()

Fields 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.

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.

Fields

  • Instance
    Instance

    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 static readonly ForeignKeyComparer InstancePublic Shared ReadOnly Instance As ForeignKeyComparer

Methods

  • Compare(IForeignKey, IForeignKey)
    Compare(IForeignKey, IForeignKey)

    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 int Compare(IForeignKey x, IForeignKey y)Public Overridable Function Compare(x As IForeignKey, y As IForeignKey) As Integer

    Parameters

    Returns

    • System.Int32
      System.Int32
  • Equals(IForeignKey, IForeignKey)
    Equals(IForeignKey, IForeignKey)

    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 Equals(IForeignKey x, IForeignKey y)Public Overridable Function Equals(x As IForeignKey, y As IForeignKey) As Boolean

    Parameters

    Returns

    • System.Boolean
      System.Boolean
  • GetHashCode(IForeignKey)
    GetHashCode(IForeignKey)

    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 int GetHashCode(IForeignKey obj)Public Overridable Function GetHashCode(obj As IForeignKey) As Integer

    Parameters

    Returns

    • System.Int32
      System.Int32

Details

Assembly

Microsoft.EntityFrameworkCore.dll