Apply an "is not null" constraint to the named property

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

Syntax

C#
public static AbstractCriterion IsNotNull(
	string propertyName
)
Visual Basic
Public Shared Function IsNotNull ( _
	propertyName As String _
) As AbstractCriterion
Visual C++
public:
static AbstractCriterion^ IsNotNull(
	String^ propertyName
)

Parameters

propertyName
Type: System..::..String
The name of the Property in the class.

Return Value

A NotNullExpression.

See Also