ForeignKeyStrictComparer ForeignKeyStrictComparer Class

Syntax

Declaration

public class ForeignKeyStrictComparer : IEqualityComparer<IForeignKey>, IComparer<IForeignKey>Public Class ForeignKeyStrictComparer
    Implements IEqualityComparer(Of IForeignKey), IComparer(Of IForeignKey)

Inheritance Hierarchy

  • System.Object
    System.Object
  • ForeignKeyStrictComparer
    ForeignKeyStrictComparer

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

Constructors summary

Methods summary

Constructors

  • ForeignKeyStrictComparer(Boolean, Boolean)
    ForeignKeyStrictComparer(Boolean, Boolean)
    public ForeignKeyStrictComparer(bool compareAnnotations = true, bool compareNavigations = true)Public Sub New(compareAnnotations As Boolean = True, compareNavigations As Boolean = True)

    Parameters

    • compareAnnotations
      System.Boolean
      System.Boolean
    • compareNavigations
      System.Boolean
      System.Boolean

Methods

  • Compare(IForeignKey, IForeignKey)
    Compare(IForeignKey, IForeignKey)
    public int Compare(IForeignKey x, IForeignKey y)Public Function Compare(x As IForeignKey, y As IForeignKey) As Integer

    Parameters

    Returns

    • System.Int32
      System.Int32
  • Equals(IForeignKey, IForeignKey)
    Equals(IForeignKey, IForeignKey)
    public bool Equals(IForeignKey x, IForeignKey y)Public Function Equals(x As IForeignKey, y As IForeignKey) As Boolean

    Parameters

    Returns

    • System.Boolean
      System.Boolean
  • GetHashCode(IForeignKey)
    GetHashCode(IForeignKey)
    public int GetHashCode(IForeignKey obj)Public Function GetHashCode(obj As IForeignKey) As Integer

    Parameters

    Returns

    • System.Int32
      System.Int32

Details

Assembly

Microsoft.EntityFrameworkCore.Specification.Tests.dll