Export (0) Print
Expand All
Expand Minimize

QueryBuilder.GroupJoin<'Outer,'Q,'Inner,'Key,'Result> Method (F#)

A query operator that correlates two sets of selected values based on matching keys and groups the results. Normal usage is groupJoin (for y in elements2 -> key1 = key2) into group.

Namespace/Module Path: Microsoft.FSharp.Linq

Assembly: FSharp.Core (in FSharp.Core.dll)

// Signature:
member this.GroupJoin : QuerySource<'Outer,'Q> * QuerySource<'Inner,'Q> * ('Outer -> 'Key) * ('Inner -> 'Key) * ('Outer -> seq<'Inner> -> 'Result) -> QuerySource<'Result,'Q>

// Usage:
queryBuilder.GroupJoin (outerSource, innerSource, outerKeySelector, innerKeySelector, resultSelector)


Type: QuerySource<'Outer,'Q>

The outer query.


Type: QuerySource<'Inner,'Q>

The inner query.


Type: 'Outer -> 'Key

A function that specifies the correlation key from the outer query.


Type: 'Inner -> 'Key

A function that specifies the correlation key from the inner query.


Type: 'Outer -> seq<'Inner> -> 'Result

A function that returns the results of the operation.

The resulting query.

For more information and examples, see Query Expressions (F#).

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

F# Core Library Versions

Supported in: 4.0, Portable

© 2014 Microsoft