Click or drag to resize
AbstractInfoProviderTInfo, TProviderGetData Method (QueryDataParameters, String, String, Int32, String, Boolean, Int32, Int32, Int32, Int32)
Returns the data according to the set of input parameters.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
protected InfoDataSet<TInfo> GetData(
	QueryDataParameters parameters,
	string where,
	string orderBy,
	int topN,
	string columns,
	bool binaryData,
	int offset,
	int maxRecords,
	ref int totalRecords,
	int siteId = -1
)

Parameters

parameters
Type: CMS.DataEngineQueryDataParameters
Query parameters
where
Type: SystemString
Where condition to filter data
orderBy
Type: SystemString
Order by statement
topN
Type: SystemInt32
Specifies number of returned records
columns
Type: SystemString
Data columns to return
binaryData
Type: SystemBoolean
If false, the binary data shouldn't be retrieved
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 number of available records
siteId (Optional)
Type: SystemInt32
Site ID of the site for which the object should be retrieved

Return Value

Type: InfoDataSetTInfo
See Also