CustomTableItemProviderGetItems Method (String, String, String, Int32, String) |
Returns the query of all data record for given custom table filtered out by where condition and ordered by given expression.
Namespace: CMS.CustomTablesAssembly: CMS.CustomTables (in CMS.CustomTables.dll) Version: 12.0.0
Syntaxpublic static ObjectQuery<CustomTableItem> GetItems(
string className,
string where,
string orderBy = null,
int topN = 0,
string columns = null
)
Parameters
- className
- Type: SystemString
Class name - where
- Type: SystemString
Where condition - orderBy (Optional)
- Type: SystemString
Order by expression - topN (Optional)
- Type: SystemInt32
Top N items - columns (Optional)
- Type: SystemString
Columns to select, null or empty returns all columns
Return Value
Type:
ObjectQueryCustomTableItem
See Also