Apply a "like" restriction in a QueryOver expression Note: throws an exception outside of a QueryOver expression

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

Syntax

C#
public static bool IsInsensitiveLike(
	this string projection,
	string comparison,
	MatchMode matchMode
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function IsInsensitiveLike ( _
	projection As String, _
	comparison As String, _
	matchMode As MatchMode _
) As Boolean
Visual C++
[ExtensionAttribute]
public:
static bool IsInsensitiveLike(
	String^ projection, 
	String^ comparison, 
	MatchMode^ matchMode
)

Parameters

projection
Type: System..::..String

[Missing <param name="projection"/> documentation for "M:NHibernate.Criterion.RestrictionExtensions.IsInsensitiveLike(System.String,System.String,NHibernate.Criterion.MatchMode)"]

comparison
Type: System..::..String

[Missing <param name="comparison"/> documentation for "M:NHibernate.Criterion.RestrictionExtensions.IsInsensitiveLike(System.String,System.String,NHibernate.Criterion.MatchMode)"]

matchMode
Type: NHibernate.Criterion..::..MatchMode

[Missing <param name="matchMode"/> documentation for "M:NHibernate.Criterion.RestrictionExtensions.IsInsensitiveLike(System.String,System.String,NHibernate.Criterion.MatchMode)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Criterion.RestrictionExtensions.IsInsensitiveLike(System.String,System.String,NHibernate.Criterion.MatchMode)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also