Note: This API is now obsolete.
Gets the data from the DataSet
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax [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:
DataSetSee Also