Convert the pattern, by appending/prepending "%"

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

Syntax

Visual Basic (Declaration)
Public MustOverride Function ToMatchString ( _
	pattern As String _
) As String
C#
public abstract string ToMatchString(
	string pattern
)
Visual C++
public:
virtual String^ ToMatchString(
	String^ pattern
) abstract
JavaScript
function toMatchString(pattern);

Parameters

pattern
Type: System..::.String
The string to convert to the appropriate match pattern.

Return Value

A String that contains a "%" in the appropriate place for the Match Strategy.

See Also