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

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

Syntax

C#
public Example EnableLike()
Visual Basic
Public Function EnableLike As Example
Visual C++
public:
Example^ EnableLike()

Return Value

[Missing <returns> documentation for "M:NHibernate.Criterion.Example.EnableLike"]

Remarks

The default MatchMode is MatchMode.Exact.

See Also