AssociationAttribute.IsForeignKey 屬性

定義

取得或設定值,這個值表示關聯成員是否代表外部索引鍵。

public:
 property bool IsForeignKey { bool get(); void set(bool value); };
public bool IsForeignKey { get; set; }
member this.IsForeignKey : bool with get, set
Public Property IsForeignKey As Boolean

屬性值

如果關聯表示外部索引鍵,則為 true,否則為 false

適用於