EdmFunctions.BitwiseOr(DbExpression, DbExpression) 方法

定義

建立會使用指定引數叫用標準 'BitwiseOr' 函式的 DbFunctionExpression,其中的引數必須具有相同的整數數值結果型別。 運算式的結果型別與引數的型別相同。

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

參數

value1
DbExpression

指定第一個運算元的運算式。

value2
DbExpression

指定第二個運算元的運算式。

傳回

傳回由 執行和value2位 OR value1 所產生的值的新 DbFunctionExpression。

例外狀況

value1value2null

value1value2 無效。

適用於