DbExpressionBuilder.Any メソッド

定義

指定した set 引数が空でないかどうかを判断する新しい DbExpression を作成します。

オーバーロード

名前 説明
Any(DbExpression)

指定した set 引数が空でないかどうかを判断する新しい DbExpression を作成します。

Any(DbExpression, Func<DbExpression,DbExpression>)

指定された述語が入力セットの任意の要素を保持するかどうかを決定する新しい DbQuantifierExpression を作成します。

Any(DbExpressionBinding, DbExpression)

指定された述語が入力セットの任意の要素を保持するかどうかを決定する新しい DbQuantifierExpression を作成します。

Any(DbExpression)

指定した set 引数が空でないかどうかを判断する新しい DbExpression を作成します。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbExpression ^ Any(System::Data::Common::CommandTrees::DbExpression ^ source);
public static System.Data.Common.CommandTrees.DbExpression Any(this System.Data.Common.CommandTrees.DbExpression source);
static member Any : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbExpression
<Extension()>
Public Function Any (source As DbExpression) As DbExpression

パラメーター

source
DbExpression

入力セットを指定する式。

返品

指定した引数を持つ新しいDbNotExpressionに新しいDbIsEmptyExpressionが適用されます。

例外

source が null です。

source にはコレクションの結果の型がありません。

適用対象

Any(DbExpression, Func<DbExpression,DbExpression>)

指定された述語が入力セットの任意の要素を保持するかどうかを決定する新しい DbQuantifierExpression を作成します。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbQuantifierExpression ^ Any(System::Data::Common::CommandTrees::DbExpression ^ source, Func<System::Data::Common::CommandTrees::DbExpression ^, System::Data::Common::CommandTrees::DbExpression ^> ^ predicate);
public static System.Data.Common.CommandTrees.DbQuantifierExpression Any(this System.Data.Common.CommandTrees.DbExpression source, Func<System.Data.Common.CommandTrees.DbExpression,System.Data.Common.CommandTrees.DbExpression> predicate);
static member Any : System.Data.Common.CommandTrees.DbExpression * Func<System.Data.Common.CommandTrees.DbExpression, System.Data.Common.CommandTrees.DbExpression> -> System.Data.Common.CommandTrees.DbQuantifierExpression
<Extension()>
Public Function Any (source As DbExpression, predicate As Func(Of DbExpression, DbExpression)) As DbQuantifierExpression

パラメーター

source
DbExpression

入力セットを指定する式。

predicate
Func<DbExpression,DbExpression>

入力セットの各メンバーについて評価する述語を表すメソッド。 このメソッドは、述語ロジックを提供するブール値の結果型を持つ式を生成する必要があります。

返品

Any 操作を表す新しい DbQuantifierExpression。

例外

source または predicate が null です。

-又は-

predicateによって生成される式が null です。

source にはコレクションの結果の型がありません。

-又は-

predicateによって生成される式にブール値の結果型がありません。

適用対象

Any(DbExpressionBinding, DbExpression)

指定された述語が入力セットの任意の要素を保持するかどうかを決定する新しい DbQuantifierExpression を作成します。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbQuantifierExpression ^ Any(System::Data::Common::CommandTrees::DbExpressionBinding ^ input, System::Data::Common::CommandTrees::DbExpression ^ predicate);
public static System.Data.Common.CommandTrees.DbQuantifierExpression Any(this System.Data.Common.CommandTrees.DbExpressionBinding input, System.Data.Common.CommandTrees.DbExpression predicate);
static member Any : System.Data.Common.CommandTrees.DbExpressionBinding * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbQuantifierExpression
<Extension()>
Public Function Any (input As DbExpressionBinding, predicate As DbExpression) As DbQuantifierExpression

パラメーター

input
DbExpressionBinding

入力セットを指定する式バインド。

predicate
DbExpression

入力セットの各メンバーについて評価する述語を表す式。

返品

Any 操作を表す新しい DbQuantifierExpression。

例外

input または predicate が null です。

predicateによって生成される式にブール値の結果型がありません。

適用対象