Use the "like" operator for all string-valued properties with the specified MatchMode.

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

Syntax

Visual Basic (Declaration)
Public Function EnableLike ( _
	matchMode As MatchMode _
) As Example
C#
public Example EnableLike(
	MatchMode matchMode
)
Visual C++
public:
Example^ EnableLike(
	MatchMode^ matchMode
)
JavaScript
function enableLike(matchMode);

Parameters

matchMode
Type: NHibernate.Expression..::.MatchMode
The MatchMode to convert the string to the pattern for the like comparison.

See Also