Click or drag to resize
SqlGeneratorGetSqlQuery Method
Generates the given type of query for table specified by its className.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public static string GetSqlQuery(
	string className,
	SqlOperationTypeEnum queryType,
	string siteName
)

Parameters

className
Type: SystemString
Class name of the document data
queryType
Type: CMS.DataEngineSqlOperationTypeEnum
Query type
siteName
Type: SystemString
Codename of the site

Return Value

Type: String
See Also