Click or drag to resize
SqlHelperGetWhereCondition Method (String, IListInt32, Boolean)

Note: This API is now obsolete.

Creates the where condition for the array of values.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
[ObsoleteAttribute("Use method GetWhereCondition(string, IEnumerable<int>, bool) instead.")]
public static string GetWhereCondition(
	string columnNames,
	IList<int> values,
	bool negation = false
)

Parameters

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

Return Value

Type: String
See Also