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: 8.2.23
Syntax public 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:
ObjectQueryCustomTableItemSee Also