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

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

Parameters

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

Return Value

Type: String
See Also