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 int Abs(
	this int numericProperty
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function Abs ( _
	numericProperty As Integer _
) As Integer
Visual C++
[ExtensionAttribute]
public:
static int Abs(
	int numericProperty
)

Parameters

numericProperty
Type: System..::..Int32

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

Return Value

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

Usage Note

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

See Also