C# Class Azavea.Open.DAO.Criteria.SortOrder

Show file Open project: azavea/net-dao

Public Properties

Property Type Description
Direction SortType
Property string

Public Methods

Method Description
SortOrder ( string property ) : System

A simple class that holds a single sort criterion. This constructor constructs one with an "ascending" sort.

SortOrder ( string property, SortType direction ) : System

A simple class that holds a single sort criterion.

ToString ( ) : string

Returns a T:System.String that represents the current T:System.Object.

Method Details

SortOrder() public method

A simple class that holds a single sort criterion. This constructor constructs one with an "ascending" sort.
public SortOrder ( string property ) : System
property string The data class' property to sort on.
return System

SortOrder() public method

A simple class that holds a single sort criterion.
public SortOrder ( string property, SortType direction ) : System
property string The data class' property to sort on.
direction SortType The direction to sort based on the Property.
return System

ToString() public method

Returns a T:System.String that represents the current T:System.Object.
public ToString ( ) : string
return string

Property Details

Direction public property

The direction to sort based on the Property.
public SortType Direction
return SortType

Property public property

The data class' property to sort on.
public string Property
return string