KeyComparer.GetHashCode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för