ForeignKeyComparer ForeignKeyComparer Class

Definition

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 class ForeignKeyComparer : IEqualityComparer<IForeignKey>, IComparer<IForeignKey>
Public Class ForeignKeyComparer
    Implements IEqualityComparer(Of IForeignKey), IComparer(Of IForeignKey)
Inheritance
System.ObjectSystem.Object
ForeignKeyComparerForeignKeyComparer
Implements
System.Collections.Generic.IEqualityComparer<IForeignKey>System.Collections.Generic.IEqualityComparer(Of IForeignKey) System.Collections.Generic.IComparer<IForeignKey>System.Collections.Generic.IComparer(Of IForeignKey)

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 Instance
Public 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

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

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

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object