Click or drag to resize

SqlIdFilterHelperTBuildWhereClause Method (String, String)

Adds a where clause to the query, it will use one of the parameters depending on the number of ids requested. Both paramters must be provided.

Namespace:  Omada.OE.AppLogic.Helpers
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public void BuildWhereClause(
	string tempTableQueryPart,
	string whereIdInQueryPart
)

Parameters

tempTableQueryPart
Type: SystemString
The query-part to-be-used with a temp-table if a "where id in (xxx)" construct is not suitable (due to too many ids). Example: "ID in (select Id from $temptable$)"
whereIdInQueryPart
Type: SystemString
The query-part to-be-used in a "where id in (xxx)" construct when there are only a few ids. Example: "ID in ($delimids$)"
See Also