Share via


KeyComparer.Equals Method

Definition

Overloads

Equals(IKey, IKey)

Determines whether the specified objects are equal.

Equals(IReadOnlyKey, IReadOnlyKey)

Determines whether the specified objects are equal.

Equals(IKey, IKey)

Source:
KeyComparer.cs

Determines whether the specified objects are equal.

public bool Equals (Microsoft.EntityFrameworkCore.Metadata.IKey x, Microsoft.EntityFrameworkCore.Metadata.IKey y);
override this.Equals : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Metadata.IKey -> bool
Public Function Equals (x As IKey, y As IKey) As Boolean

Parameters

x
IKey

The first object to compare.

y
IKey

The second object to compare.

Returns

true if the specified objects are equal; otherwise, false.

Implements

Applies to

Equals(IReadOnlyKey, IReadOnlyKey)

Source:
KeyComparer.cs
Source:
KeyComparer.cs
Source:
KeyComparer.cs
Source:
KeyComparer.cs

Determines whether the specified objects are equal.

public bool Equals (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey? x, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey? y);
override this.Equals : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey -> bool
Public Function Equals (x As IReadOnlyKey, y As IReadOnlyKey) As Boolean

Parameters

x
IReadOnlyKey

The first object to compare.

y
IReadOnlyKey

The second object to compare.

Returns

true if the specified objects are equal; otherwise, false.

Implements

Applies to