IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel.Extensions Namespace > EntityAspectExtensions Class > GetRelatedEntities Method : GetRelatedEntities<T>(EntityAspect,EntityRelationLink,QueryStrategy) Method |
'Declaration
<ExtensionAttribute()> Public Overloads Shared Function GetRelatedEntities(Of T As EntityAspect)( _ ByVal entity As EntityAspect, _ ByVal relationLink As EntityRelationLink, _ ByVal strategy As QueryStrategy _ ) As IEnumerable(Of T)
'Usage
Dim entity As EntityAspect Dim relationLink As EntityRelationLink Dim strategy As QueryStrategy Dim value As IEnumerable(Of T) value = EntityAspectExtensions.GetRelatedEntities(Of T)(entity, relationLink, strategy)
[Extension()] public static IEnumerable<T> GetRelatedEntities<T>( EntityAspect entity, EntityRelationLink relationLink, QueryStrategy strategy ) where T: EntityAspect
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2