Freigeben über


DbExpressionBuilder.CrossApply-Methode (DbExpressionBinding, DbExpressionBinding)

[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]

Erstellt einen neuen DbApplyExpression, der den angegebenen apply-Ausdruck für jedes Element eines angegebenen Eingabesets einmal auswertet und eine Auflistung von Zeilen mit entsprechenden Eingabe- und Übernahmespalten erzeugt. Zeilen, für die apply als leere Menge ausgewertet wird, werden nicht eingeschlossen.

Namespace:  System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder
Assembly:  EntityFramework (in EntityFramework.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function CrossApply ( _
    input As DbExpressionBinding, _
    apply As DbExpressionBinding _
) As DbApplyExpression
'Usage
Dim input As DbExpressionBinding 
Dim apply As DbExpressionBinding 
Dim returnValue As DbApplyExpression 

returnValue = input.CrossApply(apply)
public static DbApplyExpression CrossApply(
    this DbExpressionBinding input,
    DbExpressionBinding apply
)
[ExtensionAttribute]
public:
static DbApplyExpression^ CrossApply(
    DbExpressionBinding^ input, 
    DbExpressionBinding^ apply
)
static member CrossApply : 
        input:DbExpressionBinding * 
        apply:DbExpressionBinding -> DbApplyExpression
public static function CrossApply(
    input : DbExpressionBinding, 
    apply : DbExpressionBinding
) : DbApplyExpression

Parameter

Rückgabewert

Typ: System.Data.Entity.Core.Common.CommandTrees.DbApplyExpression
Ein neuer DbApplyExpression mit den angegebenen Eingabe- und Übernahmebindungen und ein DbExpressionKind von CrossApply.

Hinweis zur Verwendung

In Visual Basic und C# können Sie diese Methode als Instanzenmethode für ein beliebiges Objekt vom Typ DbExpressionBinding aufrufen. Bei Verwendung der Syntax für Instanzenmethoden lassen Sie den ersten Parameter aus. Weitere Informationen finden Sie unter https://msdn.microsoft.com/de-de/library/bb384936(v=vs.113) oder https://msdn.microsoft.com/de-de/library/bb383977(v=vs.113).

Ausnahmen

Ausnahme Bedingung
ArgumentNullException

input oder apply ist null.

Siehe auch

Verweis

DbExpressionBuilder Klasse

CrossApply-Überladung

System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder-Namespace