Sdílet prostřednictvím


EdmFunctions.BitwiseOr(DbExpression, DbExpression) Metoda

Definice

Vytvoří objekt DbFunctionExpression , který vyvolá kanonickou funkci BitwiseOr 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 ^ BitwiseOr(System::Data::Common::CommandTrees::DbExpression ^ value1, System::Data::Common::CommandTrees::DbExpression ^ value2);
public static System.Data.Common.CommandTrees.DbFunctionExpression BitwiseOr (this System.Data.Common.CommandTrees.DbExpression value1, System.Data.Common.CommandTrees.DbExpression value2);
static member BitwiseOr : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function BitwiseOr (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ý vrací hodnotu vytvořenou provedením bitové OR a value1value2.

Výjimky

value1 nebo value2 je null.

value1 nebo value2 je neplatný.

Platí pro