Class Lists
- Namespace
- Dynamicweb.Modules.Common
- Assembly
- Dynamicweb.dll
Class contains function for Lists handling.
public class Lists
- Inheritance
-
Lists
- Inherited Members
Properties
Sorting
Stores the sort directions string representation.
public static string[] Sorting { get; }
Property Value
- string[]
Methods
GetRowCount(string, string)
Gets rows count
public static int GetRowCount(string tableName, string filter)
Parameters
Returns
- int
Number of rows
GetSortDirection(SortDirection)
Gets list sort direction
public static string GetSortDirection(SortDirection direction)
Parameters
direction
SortDirection
Returns
- string
String value representing sort direction
GetSortField(int, string[])
Return the current sort field.
public static string GetSortField(int sort, string[] sortFields)