C# 클래스 DotNetNuke.Extensions.Data.Order

파일 보기 프로젝트 열기: JonHaywood/DotNetNuke.Extensions

보호된 프로퍼티들

프로퍼티 타입 설명
OrderSql StringBuilder

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
AddCriteria ( string propertyName, bool isAscending ) : void

메소드 상세

AddCriteria() 보호된 메소드

protected AddCriteria ( string propertyName, bool isAscending ) : void
propertyName string
isAscending bool
리턴 void

Asc() 공개 메소드

public Asc ( string propertyName ) : Order
propertyName string
리턴 Order

Desc() 공개 메소드

public Desc ( string propertyName ) : Order
propertyName string
리턴 Order

GetExpressionString() 공개 메소드

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
리턴 string

ToString() 공개 메소드

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

프로퍼티 상세

OrderSql 보호되어 있는 프로퍼티

protected StringBuilder OrderSql
리턴 StringBuilder