SortBy class

namespace: Serenity.Services   assemblySerenity.Net.Services

A sort column. In JSON this is deserialized from strings in the format "field" or "field desc"

public class SortBy

Public Members

name description
SortBy() Creates an empty SortBy object
SortBy(…) Creates a SortBy object for specified field name. (2 constructors)
Descending { get; set; } Gets/sets the descending flag
Field { get; set; } Gets/sets the field name

See Also