EdmFunctions.BitwiseAnd(DbExpression, DbExpression) Metodo

Definizione

Crea un oggetto DbFunctionExpression che richiama la funzione 'BitwiseAnd' canonica con gli argomenti specificati, che devono presentare lo stesso tipo di risultato Integer numerico. Il tipo di risultato dell'espressione è uguale al tipo di argomenti.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ BitwiseAnd(System::Data::Common::CommandTrees::DbExpression ^ value1, System::Data::Common::CommandTrees::DbExpression ^ value2);
public static System.Data.Common.CommandTrees.DbFunctionExpression BitwiseAnd (this System.Data.Common.CommandTrees.DbExpression value1, System.Data.Common.CommandTrees.DbExpression value2);
static member BitwiseAnd : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function BitwiseAnd (value1 As DbExpression, value2 As DbExpression) As DbFunctionExpression

Parametri

value1
DbExpression

Espressione che specifica il primo operando.

value2
DbExpression

Espressione che specifica il secondo operando.

Restituisce

Nuovo DbFunctionExpression che restituisce il valore prodotto eseguendo l'and and bit per bit di value1 e value2.

Eccezioni

value1 o value2 è null.

value1 o value2 non è valido.

Si applica a