Share via


KeyComparer.GetHashCode Method

Definition

Overloads

GetHashCode(IKey)

Returns a hash code for the specified object.

GetHashCode(IReadOnlyKey)

Returns a hash code for the specified object.

GetHashCode(IKey)

Returns a hash code for the specified object.

public int GetHashCode (Microsoft.EntityFrameworkCore.Metadata.IKey obj);
override this.GetHashCode : Microsoft.EntityFrameworkCore.Metadata.IKey -> int
Public Function GetHashCode (obj As IKey) As Integer

Parameters

obj
IKey

The for which a hash code is to be returned.

Returns

A hash code for the specified object.

Implements

Applies to

GetHashCode(IReadOnlyKey)

Returns a hash code for the specified object.

public int GetHashCode (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey obj);
override this.GetHashCode : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey -> int
Public Function GetHashCode (obj As IReadOnlyKey) As Integer

Parameters

obj
IReadOnlyKey

The for which a hash code is to be returned.

Returns

A hash code for the specified object.

Implements

Applies to