EdmFunctions.BitwiseXor(DbExpression, DbExpression) Method

Definition

Creates a DbFunctionExpression that invokes the canonical 'BitwiseXor' function with the specified arguments, which must have the same integer numeric result type. The result type of the expression is the same as the type of the arguments.

C#
public static System.Data.Common.CommandTrees.DbFunctionExpression BitwiseXor(this System.Data.Common.CommandTrees.DbExpression value1, System.Data.Common.CommandTrees.DbExpression value2);

Parameters

value1
DbExpression

An expression that specifies the first operand.

value2
DbExpression

An expression that specifies the second operand.

Returns

A new DbFunctionExpression that returns the value produced by performing the bitwise XOR (exclusive OR) of value1 and value2.

Exceptions

value1 or value2 is null.

value1 or value2 is invalid.

Applies to

Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1