IdeaBlade DevForce 2010 Help Reference
GetRelatedEntities(EntityAspect,EntityRelationLink,QueryStrategy) Method
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel.Extensions Namespace > EntityAspectExtensions Class > GetRelatedEntities Method : GetRelatedEntities(EntityAspect,EntityRelationLink,QueryStrategy) Method



entity
strategy
Returns all related entities via the specified IdeaBlade.EntityModel.EntityRelationLink using the specified QueryStrategy.

Syntax

Visual Basic (Declaration) 
<ExtensionAttribute()>
Public Overloads Shared Function GetRelatedEntities( _
   ByVal entity As EntityAspect, _
   ByVal relationLink As EntityRelationLink, _
   ByVal strategy As QueryStrategy _
) As IEnumerable
Visual Basic (Usage)Copy Code
Dim entity As EntityAspect
Dim relationLink As EntityRelationLink
Dim strategy As QueryStrategy
Dim value As IEnumerable
 
value = EntityAspectExtensions.GetRelatedEntities(entity, relationLink, strategy)
C# 
[ExtensionAttribute()]
public static IEnumerable GetRelatedEntities( 
   EntityAspect entity,
   EntityRelationLink relationLink,
   QueryStrategy strategy
)
C++/CLI 
[ExtensionAttribute()]
public:
static IEnumerable^ GetRelatedEntities( 
   EntityAspect^ entity,
   EntityRelationLink^ relationLink,
   QueryStrategy^ strategy
) 

Parameters

entity
relationLink
strategy

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.