NavigationProperty.GetDependentProperties Method ()

 

Where the given navigation property is on the dependent end of a referential constraint, returns the foreign key properties. Otherwise, returns an empty set. We will return the members in the order of the principal end key properties.

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

[SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
public IEnumerable<EdmProperty> GetDependentProperties()

Return Value

Type: System.Collections.Generic.IEnumerable<EdmProperty>

A collection of the foreign key properties.