Project SQL function abs() Note: throws an exception outside of a QueryOver expression

Namespace: NHibernate.Criterion
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public static long Abs(
	this long numericProperty
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function Abs ( _
	numericProperty As Long _
) As Long
Visual C++
[ExtensionAttribute]
public:
static long long Abs(
	long long numericProperty
)

Parameters

numericProperty
Type: System..::..Int64

[Missing <param name="numericProperty"/> documentation for "M:NHibernate.Criterion.ProjectionsExtensions.Abs(System.Int64)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Criterion.ProjectionsExtensions.Abs(System.Int64)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Int64. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also