ForeignKeyComparer.GetHashCode 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| 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
參數
該 中將回傳一個雜湊碼。
傳回
指定物件的雜湊碼。