ForeignKeyComparer.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(IForeignKey) |
Returns a hash code for the specified object. |
GetHashCode(IReadOnlyForeignKey) |
Returns a hash code for the specified object. |
GetHashCode(IForeignKey)
Returns a hash code for the specified object.
public int GetHashCode (Microsoft.EntityFrameworkCore.Metadata.IForeignKey obj);
override this.GetHashCode : Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> int
Public Function GetHashCode (obj As IForeignKey) As Integer
Parameters
- obj
- IForeignKey
The for which a hash code is to be returned.
Returns
A hash code for the specified object.
Implements
Applies to
GetHashCode(IReadOnlyForeignKey)
Returns a hash code for the specified object.
public int GetHashCode (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey obj);
override this.GetHashCode : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey -> int
Public Function GetHashCode (obj As IReadOnlyForeignKey) As Integer
Parameters
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