SelectConditionPrepareIDs Method |
Prepares the condition for
Int32 values represented as
String type.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax public void PrepareIDs(
string columnName,
IList<string> values,
bool negation = false
)
Parameters
- columnName
- Type: SystemString
Column name. Column name is not encapsulated by square brackets or escaped. - values
- Type: System.Collections.GenericIListString
Int32 values for the IN expression - negation (Optional)
- Type: SystemBoolean
Indicates if the negation should be used in the condition (Column NOT IN (1, 2, 3 ...))
Remarks
Invalid values are converted to 0 and duplicate values are ignored.
See Also