Apply an "is not empty" 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 AbstractEmptinessExpression IsNotEmpty(
	string propertyName
)
Visual Basic
Public Shared Function IsNotEmpty ( _
	propertyName As String _
) As AbstractEmptinessExpression
Visual C++
public:
static AbstractEmptinessExpression^ IsNotEmpty(
	String^ propertyName
)

Parameters

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

Return Value

A IsNotEmptyExpression.

See Also