EdmFunctions.Abs(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 DbFunctionExpression that invokes the canonical 'Abs' function with the specified argument, which must each have a numeric result type. The result type of the expression is the same as the result type of value.
public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression Abs (this System.Data.Entity.Core.Common.CommandTrees.DbExpression value);
static member Abs : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Abs (value As DbExpression) As DbFunctionExpression
Parameters
- value
- DbExpression
An expression that specifies the numeric value.
Returns
A new DbFunctionExpression that returns the absolute value of value.
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