AbstractInfoProvider TInfo, TProvider  GetData Method (QueryDataParameters, String, String, Int32, String, Boolean, Int32, Int32, Int32 , Int32)Kentico 8.1 API Reference
Returns the data according to the set of input parameters.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

parameters
Type: CMS.DataEngine QueryDataParameters
Query parameters
where
Type: OnlineSystem String
Where condition to filter data
orderBy
Type: OnlineSystem String
Order by statement
topN
Type: OnlineSystem Int32
Specifies number of returned records
columns
Type: OnlineSystem String
Data columns to return
binaryData
Type: OnlineSystem Boolean
If false, the binary data shouldn't be retrieved
offset
Type: OnlineSystem Int32
Index of first record to get
maxRecords
Type: OnlineSystem Int32
Maximum number of records to get. If maxRecords is zero or less, all records are returned (no paging is used)
totalRecords
Type: OnlineSystem Int32 
Returns total number of available records
siteId (Optional)
Type: OnlineSystem Int32
Site ID of the site for which the object should be retrieved

Return Value

Type: InfoDataSet TInfo 
See Also