DbExpressionBuilder.Exists(DbExpression) Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Vytvoří nový 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 se zadaným argumentem.
Výjimky
argument je null.
argument nemá typ výsledku kolekce.