Condividi tramite


DbExpressionBuilder.LeftOuterJoin Metodo

Definizione

Overload

LeftOuterJoin(DbExpression, DbExpression, Func<DbExpression,DbExpression,DbExpression>)

Crea un nuovo DbJoinExpression oggetto che unisce i set specificati dalle espressioni sinistra e destra, nella condizione di join specificata, usando LeftOuterJoin come DbExpressionKind .

LeftOuterJoin(DbExpressionBinding, DbExpressionBinding, DbExpression)

Crea un nuovo DbJoinExpression oggetto che unisce i set specificati dalle associazioni di espressioni sinistra e destra, nella condizione di join specificata, utilizzando LeftOuterJoin come DbExpressionKind .

LeftOuterJoin(DbExpression, DbExpression, Func<DbExpression,DbExpression,DbExpression>)

Crea un nuovo DbJoinExpression oggetto che unisce i set specificati dalle espressioni sinistra e destra, nella condizione di join specificata, usando LeftOuterJoin come DbExpressionKind .

public static System.Data.Entity.Core.Common.CommandTrees.DbJoinExpression LeftOuterJoin (this System.Data.Entity.Core.Common.CommandTrees.DbExpression left, System.Data.Entity.Core.Common.CommandTrees.DbExpression right, Func<System.Data.Entity.Core.Common.CommandTrees.DbExpression,System.Data.Entity.Core.Common.CommandTrees.DbExpression,System.Data.Entity.Core.Common.CommandTrees.DbExpression> joinCondition);
static member LeftOuterJoin : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression * Func<System.Data.Entity.Core.Common.CommandTrees.DbExpression, System.Data.Entity.Core.Common.CommandTrees.DbExpression, System.Data.Entity.Core.Common.CommandTrees.DbExpression> -> System.Data.Entity.Core.Common.CommandTrees.DbJoinExpression
<Extension()>
Public Function LeftOuterJoin (left As DbExpression, right As DbExpression, joinCondition As Func(Of DbExpression, DbExpression, DbExpression)) As DbJoinExpression

Parametri

left
DbExpression

Oggetto DbExpression che specifica l'argomento del set sinistro.

right
DbExpression

Oggetto DbExpression che specifica l'argomento del set destro.

joinCondition
Func<DbExpression,DbExpression,DbExpression>

Metodo che rappresenta la condizione su cui creare un join. Questo metodo deve generare un'espressione con un tipo di risultato Boolean che fornisca la logica della condizione di join.

Restituisce

Nuovo DbJoinExpression, con DbExpressionKind di LeftOuterJoin, che rappresenta l'operazione di join sinistra completa applicata ai set di input sinistro e destro nella condizione specificata di join.

Eccezioni

L'espressione prodotta da joinCondition è Null.

L'espressione prodotta da joinCondition non ha un tipo di risultato booleano.

Si applica a

LeftOuterJoin(DbExpressionBinding, DbExpressionBinding, DbExpression)

Crea un nuovo DbJoinExpression oggetto che unisce i set specificati dalle associazioni di espressioni sinistra e destra, nella condizione di join specificata, utilizzando LeftOuterJoin come DbExpressionKind .

public static System.Data.Entity.Core.Common.CommandTrees.DbJoinExpression LeftOuterJoin (this System.Data.Entity.Core.Common.CommandTrees.DbExpressionBinding left, System.Data.Entity.Core.Common.CommandTrees.DbExpressionBinding right, System.Data.Entity.Core.Common.CommandTrees.DbExpression joinCondition);
static member LeftOuterJoin : System.Data.Entity.Core.Common.CommandTrees.DbExpressionBinding * System.Data.Entity.Core.Common.CommandTrees.DbExpressionBinding * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbJoinExpression
<Extension()>
Public Function LeftOuterJoin (left As DbExpressionBinding, right As DbExpressionBinding, joinCondition As DbExpression) As DbJoinExpression

Parametri

left
DbExpressionBinding

Oggetto DbExpressionBinding che specifica l'argomento di set a sinistra.

right
DbExpressionBinding

Oggetto DbExpressionBinding che specifica l'argomento di set a destra.

joinCondition
DbExpression

Espressione che specifica la condizione in base a cui creare il join.

Restituisce

Nuovo DbJoinExpression, con DbExpressionKind di LeftOuterJoin, che rappresenta l'operazione di join sinistra completa applicata ai set di input sinistro e destro nella condizione specificata di join.

Eccezioni

left, right o joinCondition è Null.

joinCondition non ha un tipo di risultato booleano.

Si applica a