Click or drag to resize
SqlHelperGetWhereCondition Method (String, IEnumerableString, Boolean)
Creates the where condition for the array of values.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public static string GetWhereCondition(
	string columnName,
	IEnumerable<string> values,
	bool negation
)

Parameters

columnName
Type: SystemString
Column name
values
Type: System.Collections.GenericIEnumerableString
Values
negation
Type: SystemBoolean
Indicates if NOT IN should be used

Return Value

Type: String
See Also