Click or drag to resize
SqlHelperGetData Method

Note: This API is now obsolete.

Gets the data from the DataSet

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("Use new MemoryDataQuerySource(sourceData).GetData(parameters)")]
public static DataSet GetData(
	DataSet sourceData,
	QueryDataParameters parameters,
	string where,
	string orderBy,
	int topN,
	string columns,
	int offset,
	int maxRecords,
	ref int totalRecords
)

Parameters

sourceData
Type: System.DataDataSet
Source data
parameters
Type: CMS.DataEngineQueryDataParameters
Query data parameters
where
Type: SystemString
WHERE expression
orderBy
Type: SystemString
Sort expression
topN
Type: SystemInt32
Top N expression
columns
Type: SystemString
Columns expression
offset
Type: SystemInt32
Index of first record to get
maxRecords
Type: SystemInt32
Maximum number of records to get. If maxRecords is zero or less, all records are returned (no paging is used)
totalRecords
Type: SystemInt32
Returns total records

Return Value

Type: DataSet
See Also