C# Class DotNetNuke.Extensions.Data.Order

Afficher le fichier Open project: JonHaywood/DotNetNuke.Extensions

Protected Properties

Свойство Type Description
OrderSql StringBuilder

Méthodes publiques

Méthode Description
Asc ( string propertyName ) : Order
Desc ( string propertyName ) : Order
GetExpressionString ( ) : string

Returns the order by clause without the leading 'Order By' command. To access the statement with a order by command, use ToString().

ToString ( ) : string

Returns the query's expression as a SQL string, prefixed with the 'Order By' command. For example, OrderBy Column1.

Méthodes protégées

Méthode Description
AddCriteria ( string propertyName, bool isAscending ) : void

Method Details

AddCriteria() protected méthode

protected AddCriteria ( string propertyName, bool isAscending ) : void
propertyName string
isAscending bool
Résultat void

Asc() public méthode

public Asc ( string propertyName ) : Order
propertyName string
Résultat Order

Desc() public méthode

public Desc ( string propertyName ) : Order
propertyName string
Résultat Order

GetExpressionString() public méthode

Returns the order by clause without the leading 'Order By' command. To access the statement with a order by command, use ToString().
public GetExpressionString ( ) : string
Résultat string

ToString() public méthode

Returns the query's expression as a SQL string, prefixed with the 'Order By' command. For example, OrderBy Column1.
public ToString ( ) : string
Résultat string

Property Details

OrderSql protected_oe property

protected StringBuilder OrderSql
Résultat StringBuilder