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

Namespace:  NHibernate.Expression
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function IsNotNull ( _
	propertyName As String _
) As AbstractCriterion
C#
public static AbstractCriterion IsNotNull(
	string propertyName
)
Visual C++
public:
static AbstractCriterion^ IsNotNull(
	String^ propertyName
)
JavaScript
NHibernate.Expression.Expression.isNotNull = function(propertyName);

Parameters

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

Return Value

A NotNullExpression.

See Also