EdmFunctions.BitwiseNot Method (DbExpression)

 

Creates a DbFunctionExpression that invokes the canonical 'BitwiseNot' function with the specified argument, which must have an integer numeric result type. The result type of the expression is this same type.

Namespace:   System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder
Assembly:  EntityFramework (in EntityFramework.dll)

public static DbFunctionExpression BitwiseNot(
	this DbExpression value
)

Parameters

value
Type: System.Data.Entity.Core.Common.CommandTrees.DbExpression

An expression that specifies the first operand.

Return Value

Type: System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression

A new DbFunctionExpression that returns the value produced by performing the bitwise NOT of value.

Exception Condition
ArgumentNullException

value is null.

ArgumentException

No overload of the canonical ‘BitwiseNot’ function accepts arguments with the result types of value.