QStreamable.SelectMany<TLeft, TRight, TResult> Method (IQStreamable<TLeft>, Expression<Func<Unit, IQStreamable<TRight>>>, Expression<Func<TLeft, TRight, TResult>>)

Cross-join operator.

Namespace:  Microsoft.ComplexEventProcessing.Linq
Assembly:  Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function SelectMany(Of TLeft, TRight, TResult) ( _
    left As IQStreamable(Of TLeft), _
    right As Expression(Of Func(Of Unit, IQStreamable(Of TRight))), _
    resultSelector As Expression(Of Func(Of TLeft, TRight, TResult)) _
) As IQStreamable(Of TResult)
'Usage
Dim left As IQStreamable(Of TLeft)
Dim right As Expression(Of Func(Of Unit, IQStreamable(Of TRight)))
Dim resultSelector As Expression(Of Func(Of TLeft, TRight, TResult))
Dim returnValue As IQStreamable(Of TResult)

returnValue = left.SelectMany(right, _
    resultSelector)
public static IQStreamable<TResult> SelectMany<TLeft, TRight, TResult>(
    this IQStreamable<TLeft> left,
    Expression<Func<Unit, IQStreamable<TRight>>> right,
    Expression<Func<TLeft, TRight, TResult>> resultSelector
)
[ExtensionAttribute]
public:
generic<typename TLeft, typename TRight, typename TResult>
static IQStreamable<TResult>^ SelectMany(
    IQStreamable<TLeft>^ left, 
    Expression<Func<Unit, IQStreamable<TRight>^>^>^ right, 
    Expression<Func<TLeft, TRight, TResult>^>^ resultSelector
)
static member SelectMany : 
        left:IQStreamable<'TLeft> * 
        right:Expression<Func<Unit, IQStreamable<'TRight>>> * 
        resultSelector:Expression<Func<'TLeft, 'TRight, 'TResult>> -> IQStreamable<'TResult> 
JScript does not support generic types and methods.

Type Parameters

  • TLeft
    The left input payload type.
  • TRight
    The right input payload type.
  • TResult
    The output payload type.

Parameters

Return Value

Type: Microsoft.ComplexEventProcessing.Linq.IQStreamable<TResult>
The join stream.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQStreamable<TLeft>. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=sql.111) or https://msdn.microsoft.com/en-us/library/bb383977(v=sql.111).

See Also

Reference

QStreamable Class

SelectMany Overload

Microsoft.ComplexEventProcessing.Linq Namespace