ForeignKeyStrictComparer ForeignKeyStrictComparer Class

Definition

public class ForeignKeyStrictComparer : IEqualityComparer<IForeignKey>, IComparer<IForeignKey>
Public Class ForeignKeyStrictComparer
    Implements IEqualityComparer(Of IForeignKey), IComparer(Of IForeignKey)
Inheritance
System.ObjectSystem.Object
ForeignKeyStrictComparerForeignKeyStrictComparer
Implements
System.Collections.Generic.IEqualityComparer<IForeignKey>System.Collections.Generic.IEqualityComparer(Of IForeignKey) System.Collections.Generic.IComparer<IForeignKey>System.Collections.Generic.IComparer(Of IForeignKey)

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

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)

public int GetHashCode(IForeignKey obj)
Public 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