ForeignKeyPropertyDiscoveryConvention.GetPropertyBaseName 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| GetPropertyBaseName(IForeignKey) |
取得應該作為該外鍵陰影屬性一部分的字串。 |
| GetPropertyBaseName(IReadOnlyForeignKey) |
取得應該作為該外鍵陰影屬性一部分的字串。 |
GetPropertyBaseName(IForeignKey)
取得應該作為該外鍵陰影屬性一部分的字串。
public static string GetPropertyBaseName(Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
static member GetPropertyBaseName : Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> string
Public Shared Function GetPropertyBaseName (foreignKey As IForeignKey) As String
參數
- foreignKey
- IForeignKey
外鍵。
傳回
應該用來作為該外鍵陰影屬性一部分的字串。
適用於
GetPropertyBaseName(IReadOnlyForeignKey)
取得應該作為該外鍵陰影屬性一部分的字串。
public static string GetPropertyBaseName(Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey foreignKey);
static member GetPropertyBaseName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey -> string
Public Shared Function GetPropertyBaseName (foreignKey As IReadOnlyForeignKey) As String
參數
- foreignKey
- IReadOnlyForeignKey
外鍵。
傳回
應該用來作為該外鍵陰影屬性一部分的字串。