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

Parameters

numericProperty
Type: System..::..Int32

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

divisor
Type: System..::..Int32

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

Return Value

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