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

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

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

Parameters

outer
Type: ParseParseQueryTOuter
The first query to join.
inner
Type: ParseParseQueryTInner
The query to join to the first query.
outerKeySelector
Type: System.Linq.ExpressionsExpressionFuncTOuter, TKey
A function to extract a join key from the results of the first query.
innerKeySelector
Type: System.Linq.ExpressionsExpressionFuncTInner, TKey
A function to extract a join key from the results of the second query.
resultSelector
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

TOuter
The type of ParseObjects of the first query.
TInner
The type of ParseObjects of the second query.
TKey
The type of the keys returned by the key selector functions.
TResult
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

Reference