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.
Assembly: EntityFramework (in EntityFramework.dll)
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.DbFunctionExpressionA 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. |