Click or drag to resize
SqlHelperBuildIntList Method
Builds the list of integers separated by colon. Does not remove duplicities. Output of this method can be consumed by SQL table-valued function [Func_Selection_ParseIDs] which parses string and returns table.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax
C#
public static string BuildIntList(
	IEnumerable<int> values
)

Parameters

values
Type: System.Collections.GenericIEnumerableInt32
List of integers which will be joined

Return Value

Type: String
Items from values list joined by colon
Examples
Input: [1,2,3,4,3,3,7] produces the following output: "1,2,3,4,3,3,7"
See Also