語言

AssociationType.IsForeignKey 屬性

定義

取得布林屬性值,指定欄位是否為外鍵。

public:
 property bool IsForeignKey { bool get(); };
public bool IsForeignKey { get; }
member this.IsForeignKey : bool
Public ReadOnly Property IsForeignKey As Boolean

屬性值

一個布林值,用來指定欄位是否為外鍵。 若 true,該欄為外鍵。 如果 false (預設),該欄位不是外鍵。

適用於