EdmRelationshipAttribute.IsForeignKey Property

 

Gets a Boolean value that indicates whether the relationship is based on the foreign key value.

Namespace:   System.Data.Entity.Core.Objects.DataClasses
Assembly:  EntityFramework (in EntityFramework.dll)

public bool IsForeignKey { get; }

Property Value

Type: System.Boolean

true if the relationship is based on the foreign key value; otherwise false.