Gets or sets the sort field or fields, and sort order for filling the table view with data.

Namespace:  C1.Data.SchemaObjects
Assembly:  C1.Data.2 (in C1.Data.2.dll)

Syntax

C#
[XmlAttributeAttribute]
[DefaultValueAttribute(typeof(string), "")]
public virtual string FillSort { get; set; }
Visual Basic (Declaration)
<XmlAttributeAttribute> _
<DefaultValueAttribute(GetType(String), "")> _
Public Overridable Property FillSort As String
	Get
	Set

Remarks

This property controls the order in which data rows are sorted after fetch. By default, fetched data is sorted by primary key. If a different sort is required, set this property to the sort field name(s). To specify sort order (ascending/descending), add "ASC" (ascending) or "DESC" (descending) after the field name. If no order is specified, the order is "ASC" (ascending). Multiple field names are separated with commas.

Example: "CustomerID DESC, OrderID".

See Also