Table of Contents

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

tableName string

Table name

filter string

Filter value

Returns

int

Number of rows

GetSortDirection(SortDirection)

Gets list sort direction

public static string GetSortDirection(SortDirection direction)

Parameters

direction SortDirection

SortDirection

Returns

string

String value representing sort direction

GetSortField(int, string[])

Return the current sort field.

public static string GetSortField(int sort, string[] sortFields)

Parameters

sort int

Sort direction.

sortFields string[]

Sort string collection.

Returns

string
To top