Initializes a new instance of the LikeExpression class

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

Syntax

C#
public LikeExpression(
	string propertyName,
	string value,
	MatchMode matchMode,
	Nullable<char> escapeChar,
	bool ignoreCase
)
Visual Basic
Public Sub New ( _
	propertyName As String, _
	value As String, _
	matchMode As MatchMode, _
	escapeChar As Nullable(Of Char), _
	ignoreCase As Boolean _
)
Visual C++
public:
LikeExpression(
	String^ propertyName, 
	String^ value, 
	MatchMode^ matchMode, 
	Nullable<wchar_t> escapeChar, 
	bool ignoreCase
)

Parameters

propertyName
Type: System..::..String

[Missing <param name="propertyName"/> documentation for "M:NHibernate.Criterion.LikeExpression.#ctor(System.String,System.String,NHibernate.Criterion.MatchMode,System.Nullable{System.Char},System.Boolean)"]

value
Type: System..::..String

[Missing <param name="value"/> documentation for "M:NHibernate.Criterion.LikeExpression.#ctor(System.String,System.String,NHibernate.Criterion.MatchMode,System.Nullable{System.Char},System.Boolean)"]

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

[Missing <param name="matchMode"/> documentation for "M:NHibernate.Criterion.LikeExpression.#ctor(System.String,System.String,NHibernate.Criterion.MatchMode,System.Nullable{System.Char},System.Boolean)"]

escapeChar
Type: System..::..Nullable<(Of <(<'Char>)>)>

[Missing <param name="escapeChar"/> documentation for "M:NHibernate.Criterion.LikeExpression.#ctor(System.String,System.String,NHibernate.Criterion.MatchMode,System.Nullable{System.Char},System.Boolean)"]

ignoreCase
Type: System..::..Boolean

[Missing <param name="ignoreCase"/> documentation for "M:NHibernate.Criterion.LikeExpression.#ctor(System.String,System.String,NHibernate.Criterion.MatchMode,System.Nullable{System.Char},System.Boolean)"]

See Also