DomainServiceDescription.GetParentAssociations Method

WCF RIA Services

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Returns all the compositional associations that compose the specified type.

Namespace:  System.ServiceModel.DomainServices.Server
Assembly:  System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)

public IEnumerable<PropertyDescriptor> GetParentAssociations(
	Type entityType


Type: System.Type
The type to check.

Return Value

Type: System.Collections.Generic.IEnumerable<PropertyDescriptor>
A collection of PropertyDescriptor instances for each parent association. The collection may be empty.

If the specified type is the child of a compositional relationship, this method returns all the compositional associations that compose the type.