SqlHelper BuildIntTable Method Kentico 8.1 API Reference
Gets a table-valued parameter for database calls. Is intended for usage with CMS_Type_Integers database type.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

integers
Type: OnlineSystem.Collections.Generic IEnumerable OnlineInt32 

Return Value

Type: OnlineIEnumerable OnlineSqlDataRecord 
Remarks

Returns null, if the enumeration is empty. The database doesn't ever expect to get empty table, it needs not to add the parameter at all. So when calling this method to add an parameter to a query, check this for null at first and do not add the parameter at all in that case. For performance reuses returned SqlDataRecord, so it should be immediatelly consumed.
See Also