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
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function IsInsensitiveLike ( _
	projection As String, _
	comparison As String _
) As Boolean
Visual C++
[ExtensionAttribute]
public:
static bool IsInsensitiveLike(
	String^ projection, 
	String^ comparison
)

Parameters

projection
Type: System..::..String

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

comparison
Type: System..::..String

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

Return Value

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

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