DbExpressionBuilder.Not(DbExpression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a DbNotExpression that performs the logical negation of the given argument.
public static System.Data.Entity.Core.Common.CommandTrees.DbNotExpression Not (this System.Data.Entity.Core.Common.CommandTrees.DbExpression argument);
static member Not : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbNotExpression
<Extension()>
Public Function Not (argument As DbExpression) As DbNotExpression
Parameters
- argument
- DbExpression
A Boolean expression that specifies the argument.
Returns
A new DbNotExpression with the specified argument.
Exceptions
argument is null.
argument does not have a Boolean result type.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework