DomainServiceDescription.GetParentAssociations Method

[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)

Syntax

'Declaration
Public Function GetParentAssociations ( _
    entityType As Type _
) As IEnumerable(Of PropertyDescriptor)
'Usage
Dim instance As DomainServiceDescription
Dim entityType As Type
Dim returnValue As IEnumerable(Of PropertyDescriptor)

returnValue = instance.GetParentAssociations(entityType)
public IEnumerable<PropertyDescriptor> GetParentAssociations(
    Type entityType
)
public:
IEnumerable<PropertyDescriptor^>^ GetParentAssociations(
    Type^ entityType
)
member GetParentAssociations : 
        entityType:Type -> IEnumerable<PropertyDescriptor> 
public function GetParentAssociations(
    entityType : Type
) : IEnumerable<PropertyDescriptor>

Parameters

Return Value

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

Remarks

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

See Also

Reference

DomainServiceDescription Class

System.ServiceModel.DomainServices.Server Namespace