Click or drag to resize
TransformationInfoProviderGenerateTransformationCode Method (String, TransformationTypeEnum, String, DefaultTransformationTypeEnum)
Generates transformation code.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.2.23
Syntax
C#
public static string GenerateTransformationCode(
	string tableSchema,
	TransformationTypeEnum transformationType,
	string className,
	DefaultTransformationTypeEnum defaultTransformationType
)

Parameters

tableSchema
Type: SystemString
Table schema
transformationType
Type: CMS.PortalEngineTransformationTypeEnum
Transformation type: Ascx or Xslt
className
Type: SystemString
Class name
defaultTransformationType
Type: CMS.PortalEngineDefaultTransformationTypeEnum
Default transformation type: Default, RSS, Atom or XML

Return Value

Type: String
Transformation code as a string or ""
See Also