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.5.0
Syntax
C#
string EscapeSearchPhrase(
	string dataClassName,
	string searchPhase
)

Parameters

dataClassName  String
Name of the Data Class.
searchPhase  String
The search phrase.

Return Value

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