Click or drag to resize

IDataApiEscapeSearchPhrase Method

Escape the search phrase1. Use this method when you build the search phrase without FilterBuilder.

Namespace:  Casewhere.Runtime.DSL.Api
Assembly:  Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.8.1.0
Syntax
C#
string EscapeSearchPhrase(
	string dataClassName,
	string searchPhase
)

Parameters

dataClassName
Type: SystemString
Name of the Data Class.
searchPhase
Type: SystemString
The search phrase.

Return Value

Type: String
The escaped search phrase.
Examples
var dataApi = ctx.Use<IDataApi>();
dataApi.EscapeSearchPhrase("Employee", "a search phrase");
See Also