Click or drag to resize
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.CustomTables
Assembly: CMS.CustomTables (in CMS.CustomTables.dll) Version: 12.0.0
Syntax
C#
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: ObjectQueryCustomTableItem
See Also