อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


EdmFunctions.Abs(DbExpression) Method

Definition

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.

C#
public static System.Data.Common.CommandTrees.DbFunctionExpression Abs(this System.Data.Common.CommandTrees.DbExpression value);

Parameters

value
DbExpression

An expression that specifies the numeric value.

Returns

A new DbFunctionExpression that returns the absolute value of value.

Exceptions

value is null.

The expression represented by value is invalid.

Applies to

ผลิตภัณฑ์ เวอร์ชัน
.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