BaseClasses Documentation

IAdapterSqlFragmentEncoder.EscapeLikeExpression Method 

Create escape search characters in operand.

string EscapeLikeExpression(
   string operand,
   bool isLiteral,
   IRelationalDataAdapter adapter
);

Parameters

operand
a like string value to be escaped.
isLiteral
when true the operand will be treated as literal value when generatinf the SQL statement.
adapter
the adapter used to create the SQL statement.

Return Value

a string after being escaped. name="operand" />

See Also

IAdapterSqlFragmentEncoder Interface | BaseClasses Namespace