ParseQueryExtensionsJoinTOuter, TInner, TKey, TResult Method Parse
Correlates the elements of two queries based on matching keys.

Namespace: Parse
Assembly: Parse (in Parse.dll) Version: (

public static ParseQuery<TResult> Join<TOuter, TInner, TKey, TResult>(
	this ParseQuery<TOuter> outer,
	ParseQuery<TInner> inner,
	Expression<Func<TOuter, TKey>> outerKeySelector,
	Expression<Func<TInner, TKey>> innerKeySelector,
	Expression<Func<TOuter, TInner, TResult>> resultSelector
where TOuter : ParseObject
where TInner : ParseObject
where TResult : ParseObject


Type: ParseParseQueryTOuter
The first query to join.
Type: ParseParseQueryTInner
The query to join to the first query.
Type: System.Linq.ExpressionsExpressionFuncTOuter, TKey
A function to extract a join key from the results of the first query.
Type: System.Linq.ExpressionsExpressionFuncTInner, TKey
A function to extract a join key from the results of the second query.
Type: System.Linq.ExpressionsExpressionFuncTOuter, TInner, TResult
A function to select either the outer or inner query result to determine which query is the base query.

Type Parameters

The type of ParseObjects of the first query.
The type of ParseObjects of the second query.
The type of the keys returned by the key selector functions.
The type of the result. This must match either TOuter or TInner

Return Value

Type: ParseQueryTResult
A new ParseQuery with a WhereMatchesQuery or WhereMatchesKeyInQuery clause based upon the query indicated in the resultSelector.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ParseQueryTOuter. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also