Sdílet prostřednictvím


DbExpressionBuilder.All Metoda

Definice

Přetížení

All(DbExpression, Func<DbExpression,DbExpression>)

Vytvoří nový DbQuantifierExpression , který určuje, zda daný predikát obsahuje všechny prvky vstupní sady.

All(DbExpressionBinding, DbExpression)

Vytvoří nový DbQuantifierExpression , který určuje, zda daný predikát obsahuje všechny prvky vstupní sady.

All(DbExpression, Func<DbExpression,DbExpression>)

Vytvoří nový DbQuantifierExpression , který určuje, zda daný predikát obsahuje všechny prvky vstupní sady.

public static System.Data.Entity.Core.Common.CommandTrees.DbQuantifierExpression All (this System.Data.Entity.Core.Common.CommandTrees.DbExpression source, Func<System.Data.Entity.Core.Common.CommandTrees.DbExpression,System.Data.Entity.Core.Common.CommandTrees.DbExpression> predicate);
static member All : 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.DbQuantifierExpression
<Extension()>
Public Function All (source As DbExpression, predicate As Func(Of DbExpression, DbExpression)) As DbQuantifierExpression

Parametry

source
DbExpression

Výraz, který určuje vstupní sadu.

predicate
Func<DbExpression,DbExpression>

Metoda představující predikát, který se má vyhodnotit pro každý člen vstupní sady. Tato metoda musí vytvořit výraz s logickým typem výsledku, který poskytuje logiku predikátu.

Návraty

Nový DbQuantifierExpression, který představuje operaci All.

Výjimky

Výraz vytvořený predikátem má hodnotu null.

Výraz vytvořený predikátem nemá logický typ výsledku.

Platí pro

All(DbExpressionBinding, DbExpression)

Vytvoří nový DbQuantifierExpression , který určuje, zda daný predikát obsahuje všechny prvky vstupní sady.

public static System.Data.Entity.Core.Common.CommandTrees.DbQuantifierExpression All (this System.Data.Entity.Core.Common.CommandTrees.DbExpressionBinding input, System.Data.Entity.Core.Common.CommandTrees.DbExpression predicate);
static member All : System.Data.Entity.Core.Common.CommandTrees.DbExpressionBinding * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbQuantifierExpression
<Extension()>
Public Function All (input As DbExpressionBinding, predicate As DbExpression) As DbQuantifierExpression

Parametry

input
DbExpressionBinding

Vazba výrazu, která určuje vstupní sadu.

predicate
DbExpression

Výraz představující predikát, který se má vyhodnotit pro každý člen vstupní sady.

Návraty

Nový DbQuantifierExpression, který představuje operaci All.

Výjimky

vstup nebo predikát je null.

predikát nemá logický typ výsledku.

Platí pro