QStreamable.LeftAntiJoin<TLeft, TRight, TKey> Method (IQStreamable<TLeft>, IQStreamable<TRight>, Expression<Func<TLeft, TKey>>, Expression<Func<TRight, TKey>>)
Returns left events when they do not coincide with any matching right events where events are matched by key.
Namespace: Microsoft.ComplexEventProcessing.Linq
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function LeftAntiJoin(Of TLeft, TRight, TKey) ( _
left As IQStreamable(Of TLeft), _
right As IQStreamable(Of TRight), _
leftKeySelector As Expression(Of Func(Of TLeft, TKey)), _
rightKeySelector As Expression(Of Func(Of TRight, TKey)) _
) As IQStreamable(Of TLeft)
'Usage
Dim left As IQStreamable(Of TLeft)
Dim right As IQStreamable(Of TRight)
Dim leftKeySelector As Expression(Of Func(Of TLeft, TKey))
Dim rightKeySelector As Expression(Of Func(Of TRight, TKey))
Dim returnValue As IQStreamable(Of TLeft)
returnValue = left.LeftAntiJoin(right, _
leftKeySelector, rightKeySelector)
public static IQStreamable<TLeft> LeftAntiJoin<TLeft, TRight, TKey>(
this IQStreamable<TLeft> left,
IQStreamable<TRight> right,
Expression<Func<TLeft, TKey>> leftKeySelector,
Expression<Func<TRight, TKey>> rightKeySelector
)
[ExtensionAttribute]
public:
generic<typename TLeft, typename TRight, typename TKey>
static IQStreamable<TLeft>^ LeftAntiJoin(
IQStreamable<TLeft>^ left,
IQStreamable<TRight>^ right,
Expression<Func<TLeft, TKey>^>^ leftKeySelector,
Expression<Func<TRight, TKey>^>^ rightKeySelector
)
static member LeftAntiJoin :
left:IQStreamable<'TLeft> *
right:IQStreamable<'TRight> *
leftKeySelector:Expression<Func<'TLeft, 'TKey>> *
rightKeySelector:Expression<Func<'TRight, 'TKey>> -> IQStreamable<'TLeft>
JScript does not support generic types and methods.
Type Parameters
- TLeft
Left payload type.
- TRight
Right payload type.
- TKey
Join key type.
Parameters
- left
Type: Microsoft.ComplexEventProcessing.Linq.IQStreamable<TLeft>
Left stream.
- right
Type: Microsoft.ComplexEventProcessing.Linq.IQStreamable<TRight>
Right stream.
- leftKeySelector
Type: System.Linq.Expressions.Expression<Func<TLeft, TKey>>
Left key selector.
- rightKeySelector
Type: System.Linq.Expressions.Expression<Func<TRight, TKey>>
Right key selector.
Return Value
Type: Microsoft.ComplexEventProcessing.Linq.IQStreamable<TLeft>
Stream consisting of left events when not matched by right events.
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).