DbExpressionBuilder.Exists(DbExpression) Metoda

Definice

Vytvoří novou DbExpression , která určuje, zda zadaný argument sady není prázdný.

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

Parametry

argument
DbExpression

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

Návraty

Nový DbNotExpression použitý na nový DbIsEmptyExpression s zadaným argumentem.

Výjimky

argument je null.

argument nemá typ výsledku kolekce.

Platí pro