AssociationType.IsForeignKey Property

.NET Framework 4.6 and 4.5

Gets the Boolean property value that specifies whether the column is a foreign key.

Namespace:  System.Data.Metadata.Edm
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public bool IsForeignKey { get; }

Property Value

Type: System.Boolean
A Boolean value that specifies whether the column is a foreign key. If true, the column is a foreign key. If false (default), the column is not a foreign key.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft