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

適用於