EdmFunctions.BitwiseAnd(DbExpression, DbExpression) Metoda

Definice

Vytvoří DbFunctionExpression , která vyvolá kanonickou funkci BitwiseAnd se zadanými argumenty, které musí mít stejný celočíselný typ výsledku. Typ výsledku výrazu je stejný jako typ argumentů.

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

Parametry

value1
DbExpression

Výraz, který určuje první operand.

value2
DbExpression

Výraz, který určuje druhý operand.

Návraty

Nový DbFunctionExpression, který vrátí hodnotu vytvořenou provedením bitové and of value1 a value2.

Výjimky

value1 nebo value2 je null.

value1 nebo value2 je neplatný.

Platí pro