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

상속: AbstractOnePropertyEachJoinExpression
파일 보기 프로젝트 열기: azavea/net-dao

공개 메소드들

메소드 설명
EqualJoinExpression ( string leftProperty, string rightProperty ) : System

LeftProperty == RightProperty. Does not accept wild cards.

EqualJoinExpression ( string leftProperty, string rightProperty, bool trueOrNot ) : System

LeftProperty == RightProperty. Does not accept wild cards.

Flip ( ) : IJoinExpression

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.

Invert ( ) : IExpression

Produces an expression that is the exact opposite of this expression. The new expression should exclude everything this one includes, and include everything this one excludes.

메소드 상세

EqualJoinExpression() 공개 메소드

LeftProperty == RightProperty. Does not accept wild cards.
public EqualJoinExpression ( string leftProperty, string rightProperty ) : System
leftProperty string The name of the property on the object returned by the /// left DAO that we are comparing.
rightProperty string The name of the property on the object returned by the /// right DAO that we are comparing.
리턴 System

EqualJoinExpression() 공개 메소드

LeftProperty == RightProperty. Does not accept wild cards.
public EqualJoinExpression ( string leftProperty, string rightProperty, bool trueOrNot ) : System
leftProperty string The name of the property on the object returned by the /// left DAO that we are comparing.
rightProperty string The name of the property on the object returned by the /// right DAO that we are comparing.
trueOrNot bool True means look for matches (I.E. ==), /// false means look for non-matches (I.E. !=)
리턴 System

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 ( ) : IJoinExpression
리턴 IJoinExpression

Invert() 공개 메소드

Produces an expression that is the exact opposite of this expression. The new expression should exclude everything this one includes, and include everything this one excludes.
public Invert ( ) : IExpression
리턴 IExpression