Click or drag to resize

DataObjectSortField Class

This class can be used in rare situations where loaded data objects should neither be sorted on fixed fields nor on properties. Example: loadOptions.SortFields.Add(new DataObjectSortField("do.rolecalcreqd", true));
Inheritance Hierarchy
SystemObject
  Omada.OE.ModelCompareField
    Omada.OE.ModelDataObjectSortField

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
public class DataObjectSortField : CompareField

The DataObjectSortField type exposes the following members.

Constructors
  NameDescription
Public methodDataObjectSortField(Int32, Boolean)
Construct object with the sort field ordinal
Public methodDataObjectSortField(String, Boolean)
Construct object with the sort field name
Top
Properties
  NameDescription
Public propertyDescending (Inherited from CompareField.)
Public propertyId
Id is not a *real* id - it is specified as the ordinal value of a comparefield's enum value.
(Inherited from CompareField.)
Top
Fields
  NameDescription
Public fieldFieldName
Name of the sort field.
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
See Also