Apply a "like" constraint to the named property

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

Syntax

Visual Basic (Declaration)
Public Shared Function Like ( _
	propertyName As String, _
	value As Object _
) As SimpleExpression
C#
public static SimpleExpression Like(
	string propertyName,
	Object value
)
Visual C++
public:
static SimpleExpression^ Like(
	String^ propertyName, 
	Object^ value
)
JavaScript
NHibernate.Expression.Expression.like = function(propertyName, value);

Parameters

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

Return Value

A LikeExpression.

See Also