NavigationProperty.GetDependentProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the foreign key properties for a navigation property that is on the dependent end of a referential constraint.
public:
System::Collections::Generic::IEnumerable<System::Data::Metadata::Edm::EdmProperty ^> ^ GetDependentProperties();
public System.Collections.Generic.IEnumerable<System.Data.Metadata.Edm.EdmProperty> GetDependentProperties ();
member this.GetDependentProperties : unit -> seq<System.Data.Metadata.Edm.EdmProperty>
Public Function GetDependentProperties () As IEnumerable(Of EdmProperty)
Returns
A collection of the foreign key properties.
Remarks
For a navigation property that is on the dependent end of a referential constraint, the GetDependentProperties method returns the corresponding foreign key properties. The returned properties will be in the same order as the principal end key properties.
If the navigation property is not on the dependent end of a referential constraint, the GetDependentProperties method returns an empty collection.