SqlHelper GetCast Method Kentico 8.1 API Reference
Get the CAST expression.

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

Return Value

Type: OnlineString
Examples

GetCast("ActivityValue", "FLOAT")
returns "CAST(ActivityValue AS INT)"
See Also