Udostępnij przez


DbExpressionBuilder.All Metoda

Definicja

Przeciążenia

All(DbExpression, Func<DbExpression,DbExpression>)

Tworzy nowy DbQuantifierExpression , który określa, czy dany predykat zawiera wszystkie elementy zestawu danych wejściowych.

All(DbExpressionBinding, DbExpression)

Tworzy nowy DbQuantifierExpression , który określa, czy dany predykat zawiera wszystkie elementy zestawu danych wejściowych.

All(DbExpression, Func<DbExpression,DbExpression>)

Tworzy nowy DbQuantifierExpression , który określa, czy dany predykat zawiera wszystkie elementy zestawu danych wejściowych.

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

Wyrażenie określające zestaw danych wejściowych.

predicate
Func<DbExpression,DbExpression>

Metoda reprezentująca predykat do oceny dla każdego elementu członkowskiego zestawu danych wejściowych. Ta metoda musi wygenerować wyrażenie z typem wyniku logicznego, który zapewnia logikę predykatu.

Zwraca

Nowa funkcja DbQuantifierExpression reprezentująca operację Wszystkie.

Wyjątki

Wyrażenie wygenerowane przez predykat ma wartość null.

Wyrażenie wygenerowane przez predykat nie ma typu wyniku logicznego.

Dotyczy

All(DbExpressionBinding, DbExpression)

Tworzy nowy DbQuantifierExpression , który określa, czy dany predykat zawiera wszystkie elementy zestawu danych wejściowych.

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

Powiązanie wyrażenia, które określa zestaw danych wejściowych.

predicate
DbExpression

Wyrażenie reprezentujące predykat do oceny dla każdego elementu członkowskiego zestawu danych wejściowych.

Zwraca

Nowa funkcja DbQuantifierExpression reprezentująca operację Wszystkie.

Wyjątki

dane wejściowe lub predykat ma wartość null.

Predykat nie ma typu wyniku logicznego.

Dotyczy