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 decimal numericProperty
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function Sqrt ( _
	numericProperty As Decimal _
) As Double
Visual C++
[ExtensionAttribute]
public:
static double Sqrt(
	Decimal numericProperty
)

Parameters

numericProperty
Type: System..::..Decimal

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

Return Value

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

Usage Note

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

See Also