C# 클래스 Azavea.Open.DAO.Criteria.Joins.JoinSortOrder

This is similar to a DaoCriteria's SortOrder, except it is necessary to specify which DAO, the left or the right, has this field we're sorting on.
상속: SortOrder
파일 보기 프로젝트 열기: azavea/net-dao

공개 프로퍼티들

프로퍼티 타입 설명
IsForLeftDao bool

공개 메소드들

메소드 설명
Flip ( ) : JoinSortOrder

For some implementations, it's simpler to only implement one-sided joins. So to handle right (or left) joins, you want to flip the criteria so the right and left daos are swapped and you can do a left (or right) join instead.

JoinSortOrder ( string property, SortType direction, bool isForLeftDao )

A simple class that holds a sort criterion for a property from the right or left DAO.

JoinSortOrder ( string property, bool isForLeftDao )

A simple class that holds a sort criterion for a property from the right or left DAO. This constructor creates an "ascending" sort order.

ToString ( ) : string

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

메소드 상세

Flip() 공개 메소드

For some implementations, it's simpler to only implement one-sided joins. So to handle right (or left) joins, you want to flip the criteria so the right and left daos are swapped and you can do a left (or right) join instead.
public Flip ( ) : JoinSortOrder
리턴 JoinSortOrder

JoinSortOrder() 공개 메소드

A simple class that holds a sort criterion for a property from the right or left DAO.
public JoinSortOrder ( string property, SortType direction, bool isForLeftDao )
property string The data class' property to sort on.
direction SortType The direction to sort based on the Property.
isForLeftDao bool If true, the property we're sorting on comes from the left /// DAO. If false, it comes from the right DAO.

JoinSortOrder() 공개 메소드

A simple class that holds a sort criterion for a property from the right or left DAO. This constructor creates an "ascending" sort order.
public JoinSortOrder ( string property, bool isForLeftDao )
property string The data class' property to sort on.
isForLeftDao bool If true, the property we're sorting on comes from the left /// DAO. If false, it comes from the right DAO.

ToString() 공개 메소드

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

프로퍼티 상세

IsForLeftDao 공개적으로 프로퍼티

If true, the property we're sorting on comes from the left DAO. If false, it comes from the right DAO.
public bool IsForLeftDao
리턴 bool