SqlFunctions.Sign Method
Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
Sign(Nullable<Decimal>) | Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. |
|
Sign(Nullable<Double>) | Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. |
|
Sign(Nullable<Int32>) | Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. |
|
Sign(Nullable<Int64>) | Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. |
You cannot call this function directly. This function can only appear within a LINQ to Entities query.
This function is translated to a corresponding function in the database. For information about the corresponding SQL Server function, see SIGN (Transact-SQL).