Property | Type | Description | |
---|---|---|---|
BoolType | BooleanOperator | ||
Expressions | List |
||
LeftCriteria | DaoCriteria | ||
Limit | int | ||
Orders | List |
||
RightCriteria | DaoCriteria | ||
Start | int | ||
TypeOfJoin | JoinType |
Property | Type | Description | |
---|---|---|---|
_log | log4net.ILog |
Method | Description | |
---|---|---|
Clear ( ) : void |
Completely clears the object so that it may be used over again.
|
|
DaoJoinCriteria ( ) : System |
Constructs a blank inner join criteria, which will return all records unless you customize it. All expressions added to it will be ANDed together.
|
|
DaoJoinCriteria ( BooleanOperator howToAddExpressions ) : System |
Constructs a blank inner join criteria, which will return all records unless you customize it.
|
|
DaoJoinCriteria ( IJoinExpression firstExpr ) : System |
Constructs an inner join criteria with one expression. May be handy for cases where you only need one expression.
|
|
DaoJoinCriteria ( IJoinExpression firstExpr, BooleanOperator howToAddExpressions ) : System |
Constructs an inner join criteria with one expression.
|
|
DaoJoinCriteria ( JoinType typeOfJoin ) : System |
Constructs a blank criteria, which will return all records unless you customize it. All expressions added to it will be ANDed together.
|
|
DaoJoinCriteria ( JoinType typeOfJoin, BooleanOperator howToAddExpressions ) : System |
Constructs a blank criteria, which will return all records unless you customize it.
|
|
DaoJoinCriteria ( JoinType typeOfJoin, IJoinExpression firstExpr ) : System |
Constructs a criteria with one expression. May be handy for cases where you only need one expression.
|
|
DaoJoinCriteria ( JoinType typeOfJoin, IJoinExpression firstExpr, BooleanOperator howToAddExpressions ) : System |
Constructs a criteria with one expression.
|
|
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.
|
|
ToString ( ) : string |
Returns a T:System.String that represents the current T:System.Object.
|
public DaoJoinCriteria ( BooleanOperator howToAddExpressions ) : System | ||
howToAddExpressions | BooleanOperator | How expressions will be added together. Determines /// if we do exp1 AND exp2 AND exp3, or if we do /// exp1 OR exp2 OR exp3. |
return | System |
public DaoJoinCriteria ( IJoinExpression firstExpr ) : System | ||
firstExpr | IJoinExpression | The first expression to add. |
return | System |
public DaoJoinCriteria ( IJoinExpression firstExpr, BooleanOperator howToAddExpressions ) : System | ||
firstExpr | IJoinExpression | The first expression to add. |
howToAddExpressions | BooleanOperator | How expressions will be added together. Determines /// if we do exp1 AND exp2 AND exp3, or if we do /// exp1 OR exp2 OR exp3. |
return | System |
public DaoJoinCriteria ( JoinType typeOfJoin ) : System | ||
typeOfJoin | JoinType | Is this an inner join, left join, etc. |
return | System |
public DaoJoinCriteria ( JoinType typeOfJoin, BooleanOperator howToAddExpressions ) : System | ||
typeOfJoin | JoinType | Is this an inner join, left join, etc. |
howToAddExpressions | BooleanOperator | How expressions will be added together. Determines /// if we do exp1 AND exp2 AND exp3, or if we do /// exp1 OR exp2 OR exp3. |
return | System |
public DaoJoinCriteria ( JoinType typeOfJoin, IJoinExpression firstExpr ) : System | ||
typeOfJoin | JoinType | Is this an inner join, left join, etc. |
firstExpr | IJoinExpression | The first expression to add. |
return | System |
public DaoJoinCriteria ( JoinType typeOfJoin, IJoinExpression firstExpr, BooleanOperator howToAddExpressions ) : System | ||
typeOfJoin | JoinType | Is this an inner join, left join, etc. |
firstExpr | IJoinExpression | The first expression to add. |
howToAddExpressions | BooleanOperator | How expressions will be added together. Determines /// if we do exp1 AND exp2 AND exp3, or if we do /// exp1 OR exp2 OR exp3. |
return | System |