Szerkesztés

Megosztás a következőn keresztül:


NavigationProperty.GetDependentProperties Method

Definition

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.

Applies to