共用方式為


ForeignKeyComparer.GetHashCode 方法

定義

多載

GetHashCode(IForeignKey)

傳回指定物件的雜湊碼。

GetHashCode(IReadOnlyForeignKey)

傳回指定物件的雜湊碼。

GetHashCode(IForeignKey)

傳回指定物件的雜湊碼。

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

參數

obj
IForeignKey

要傳回雜湊碼的 。

傳回

指定物件的雜湊碼。

實作

適用於

GetHashCode(IReadOnlyForeignKey)

傳回指定物件的雜湊碼。

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

參數

obj
IReadOnlyForeignKey

要傳回雜湊碼的 。

傳回

指定物件的雜湊碼。

實作

適用於