Apply a "like" constraint to the project

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

Syntax

C#
public static SimpleExpression Like(
	IProjection projection,
	string value,
	MatchMode matchMode
)
Visual Basic
Public Shared Function Like ( _
	projection As IProjection, _
	value As String, _
	matchMode As MatchMode _
) As SimpleExpression
Visual C++
public:
static SimpleExpression^ Like(
	IProjection^ projection, 
	String^ value, 
	MatchMode^ matchMode
)

Parameters

projection
Type: NHibernate.Criterion..::..IProjection
The projection.
value
Type: System..::..String
The value for the Property.
matchMode
Type: NHibernate.Criterion..::..MatchMode
The match mode.

Return Value

A LikeExpression.

See Also