DbExpressionBuilder.Exists(DbExpression) Metod

Definition

Skapar en ny DbExpression som avgör om det angivna set-argumentet inte är tomt.

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

Parametrar

argument
DbExpression

Ett uttryck som anger indatauppsättningen.

Returer

En ny DbNotExpression som tillämpas på en ny DbIsEmptyExpression med det angivna argumentet.

Undantag

argument är null.

argument inte har någon samlingsresultattyp.

Gäller för