SqlHelperGetWhereCondition Method (String, IListInt32, Boolean) |
Note: This API is now obsolete.
Creates the where condition for the array of values.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax [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:
StringSee Also