DbExpressionBuilder.OuterApply-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 zu einem leeren Satz ausgewertet wird, weisen den Anwendungsspaltenwert null auf.
Namespace: System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder
Assembly: EntityFramework (in EntityFramework.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function OuterApply ( _
input As DbExpressionBinding, _
apply As DbExpressionBinding _
) As DbApplyExpression
'Usage
Dim input As DbExpressionBinding
Dim apply As DbExpressionBinding
Dim returnValue As DbApplyExpression
returnValue = input.OuterApply(apply)
public static DbApplyExpression OuterApply(
this DbExpressionBinding input,
DbExpressionBinding apply
)
[ExtensionAttribute]
public:
static DbApplyExpression^ OuterApply(
DbExpressionBinding^ input,
DbExpressionBinding^ apply
)
static member OuterApply :
input:DbExpressionBinding *
apply:DbExpressionBinding -> DbApplyExpression
public static function OuterApply(
input : DbExpressionBinding,
apply : DbExpressionBinding
) : DbApplyExpression
Parameter
- input
Typ: System.Data.Entity.Core.Common.CommandTrees.DbExpressionBinding
Ein DbExpressionBinding, das das Eingabeset angibt.
- apply
Typ: System.Data.Entity.Core.Common.CommandTrees.DbExpressionBinding
Eine DbExpressionBinding, die die Logik angibt, die für jeden Member des Eingabesets einmal ausgewertet wird.
Rückgabewert
Typ: System.Data.Entity.Core.Common.CommandTrees.DbApplyExpression
Ein neues DbApplyExpression mit den angegebenen Eingabe- und Übernahmebindungen und einem DbExpressionKind von OuterApply.
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
System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder-Namespace