Project SQL function sqrt() 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 double Sqrt(
	this int numericProperty
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function Sqrt ( _
	numericProperty As Integer _
) As Double
Visual C++
[ExtensionAttribute]
public:
static double Sqrt(
	int numericProperty
)

Parameters

numericProperty
Type: System..::..Int32

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

Return Value

[Missing <returns> documentation for "M:NHibernate.Criterion.ProjectionsExtensions.Sqrt(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