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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework