IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityQueryExtensions Class : GroupJoin<TOuter,TInner,TKey,TResult> Method |
'Declaration
<ExtensionAttribute()> Public Shared Function GroupJoin (Of TOuter,TInner,TKey,TResult)( _ ByVal outer As IEntityQuery(Of TOuter), _ ByVal inner As IEnumerable(Of TInner), _ ByVal outerKeySelector As Expression(Of Func(Of TOuter,TKey)), _ ByVal innerKeySelector As Expression(Of Func(Of TInner,TKey)), _ ByVal resultSelector As Expression(Of Func(Of TOuter,IEnumerable(Of TInner),TResult)) _ ) As IEntityQuery(Of TResult)
'Usage
Dim outer As IEntityQuery(Of TOuter) Dim inner As IEnumerable(Of TInner) Dim outerKeySelector As Expression(Of Func(Of TOuter,TKey)) Dim innerKeySelector As Expression(Of Func(Of TInner,TKey)) Dim resultSelector As Expression(Of Func(Of TOuter,IEnumerable(Of TInner),TResult)) Dim value As IEntityQuery(Of TResult) value = EntityQueryExtensions.GroupJoin(Of TOuter, TInner, TKey, TResult)(outer, inner, outerKeySelector, innerKeySelector, resultSelector)
[Extension()] public static IEntityQuery<TResult> GroupJoin<TOuter,TInner,TKey,TResult>( IEntityQuery<TOuter> outer, IEnumerable<TInner> inner, Expression<Func<TOuter,TKey>> outerKeySelector, Expression<Func<TInner,TKey>> innerKeySelector, Expression<Func<TOuter,IEnumerable<TInner>,TResult>> resultSelector )
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