Kentico 10 API Reference
Kentico 10 API Reference
Namespaces
CMS.DataEngine Namespaces
CMS.DataEngine
IDataQuerySettings(TQuery) Interface
IDataQuerySettings(TQuery) Methods
AddColumn Method
AddColumns Method
Column Method
Columns Method
Distinct Method
GroupBy Method
Having Method
NewGroupBy Method
NewHaving Method
NextPage Method
NotPaged Method
OrderBy Method
OrderByAscending Method
OrderByDescending Method
Page Method
PagedBy Method
ReplaceColumn Method
Take Method
Then Method
TopN Method
WithComment Method
IDataQuerySettings
TQuery
TopN Method
Selects only first top N number of records
Namespace:
CMS.DataEngine
Assembly:
CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
Copy
TQuery
TopN
(
int
topN
)
Parameters
topN
Type:
System
Int32
Return Value
Type:
TQuery
See Also
Reference
IDataQuerySettings
TQuery
Interface
CMS.DataEngine Namespace
Copyright (c) 2016 Kentico Software
Send comments on this topic to
support@kentico.com