CepStream.SelectMany<TInput, TGroupingKey, TBind, TResult> Method (CepGroupingStreams<TInput, TGroupingKey>, Expression<Func<CepStream<TInput>, CepWindowStream<TBind>>>, Expression<Func<IKey<TGroupingKey>, TBind, TResult>>)

Produces a stream based on the cross join of two input streams.

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

Syntax

public static CepStream<TResult> SelectMany<TInput, TGroupingKey, TBind, TResult>(
    this CepGroupingStreams<TInput, TGroupingKey> source,
    Expression<Func<CepStream<TInput>, CepWindowStream<TBind>>> bind,
    Expression<Func<IKey<TGroupingKey>, TBind, TResult>> selector
)

Type Parameters

  • TInput
    The payload type of events from the outer input stream.
  • TGroupingKey
    The payload type of the grouping key.
  • TBind
    The payload type of events from the inner input stream.
  • TResult
    The payload type of result events.

Parameters

Return Value

Type: Microsoft.ComplexEventProcessing.Linq.CepStream<TResult>
A stream that is the result of SelectMany() and the window operation.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CepGroupingStreams<TInput, TGroupingKey>. 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.105) or https://msdn.microsoft.com/en-us/library/bb383977(v=sql.105).

See Also

Reference

CepStream Class

SelectMany Overload

Microsoft.ComplexEventProcessing.Linq Namespace