AssociationAttribute.IsForeignKey Property

Definition

Gets or sets a value that indicates whether the association member represents a foreign key.

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

Property Value

true if the association represents a foreign key; otherwise, false.

Applies to