C# Класс Azavea.Open.DAO.Criteria.Joins.EqualJoinExpression

Наследование: AbstractOnePropertyEachJoinExpression
Показать файл Открыть проект

Открытые методы

Метод Описание
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