Table of contents
TOC
Collapse the table of content
Expand the table of content

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

Den Delimarsky|Last Updated: 7/25/2016
|
1 Contributor

A query operator that correlates two sets of selected values based on matching keys. Normal usage is join (for y in elements2 -> key1 = key2).

Namespace/Module Path: Microsoft.FSharp.Linq

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

Syntax

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

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

Parameters

outerSource Type: QuerySource<'Outer,'Q>

The outer query.

innerSource Type: QuerySource<'Inner,'Q>

The inner query.

outerKeySelector Type: 'Outer -> 'Key

A function that returns the outer correlation key.

innerKeySelector Type: 'Inner -> 'Key

A function that returns the inner correlation key.

resultSelector Type: 'Outer -> 'Inner -> 'Result

A function to return the results of the join operation.

Return Value

The resulting query.

Remarks

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

Platforms

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

Version Information

F# Core Library Versions

Supported in: 4.0, Portable

See Also

Linq.QueryBuilder Class (F#)

Microsoft.FSharp.Linq Namespace (F#)

Query Expressions (F#)

© 2016 Microsoft