C# Class IQMap.SqlQueryBuilder.Impl.WhereClause

Inheritance: IWhereClause
Mostrar archivo Open project: jamietre/IQMap Class Usage Examples

Protected Properties

Property Type Description
_InnerList List
_Owner ISqlQueryMaker

Private Properties

Property Type Description
ISqlClause ISqlClause
IWhere IWhere
IWhereClause IWhereClause

Public Methods

Method Description
Add ( IEnumerable criteria ) : IWhereClause
Add ( IEnumerable criteria, JoinType joinType ) : IWhereClause
Add ( IWhere condition ) : IWhereClause
Add ( IWhere condition, JoinType joinType ) : IWhereClause
Add ( string condition ) : IWhereClause
Add ( string condition, JoinType joinType ) : IWhereClause
Add ( string field, object value, ComparisonType comparisonType, JoinType joinType, bool parameterize = true ) : IWhereClause
Add ( string field, object value, ComparisonType comparisonType, bool parameterize = true ) : IWhereClause
Add ( string field, object value, bool parameterize = true ) : IWhereClause

Add a simple "field = value" condition

Clear ( ) : void
Clone ( ) : WhereClause
Equals ( object obj ) : bool
GetHashCode ( ) : int
GetSql ( ) : string
MustParenthesizeFor ( JoinType joinType ) : bool

Returns true if any components of this query are of a different join type than the test

Set ( string clause ) : IWhereClause
ToString ( ) : string
Touch ( ) : void
WhereClause ( ) : System
WhereClause ( JoinType joinType ) : System

Protected Methods

Method Description
AddImpl ( ) : void
GetParameterCollections ( ) : IEnumerable>
JoinOperator ( ) : string
MergeWhere ( IWhere item, JoinType joinType ) : void

Adds a condition to the "Where" property, and returns self for chainability

Private Methods

Method Description
ISqlClause ( ) : ISqlClause
IWhere ( ) : IWhere
IWhereClause ( ) : IWhereClause

Method Details

Add() public method

public Add ( IEnumerable criteria ) : IWhereClause
criteria IEnumerable
return IWhereClause

Add() public method

public Add ( IEnumerable criteria, JoinType joinType ) : IWhereClause
criteria IEnumerable
joinType JoinType
return IWhereClause

Add() public method

public Add ( IWhere condition ) : IWhereClause
condition IWhere
return IWhereClause

Add() public method

public Add ( IWhere condition, JoinType joinType ) : IWhereClause
condition IWhere
joinType JoinType
return IWhereClause

Add() public method

public Add ( string condition ) : IWhereClause
condition string
return IWhereClause

Add() public method

public Add ( string condition, JoinType joinType ) : IWhereClause
condition string
joinType JoinType
return IWhereClause

Add() public method

public Add ( string field, object value, ComparisonType comparisonType, JoinType joinType, bool parameterize = true ) : IWhereClause
field string
value object
comparisonType ComparisonType
joinType JoinType
parameterize bool
return IWhereClause

Add() public method

public Add ( string field, object value, ComparisonType comparisonType, bool parameterize = true ) : IWhereClause
field string
value object
comparisonType ComparisonType
parameterize bool
return IWhereClause

Add() public method

Add a simple "field = value" condition
public Add ( string field, object value, bool parameterize = true ) : IWhereClause
field string
value object
parameterize bool
return IWhereClause

AddImpl() protected method

protected AddImpl ( ) : void
return void

Clear() public method

public Clear ( ) : void
return void

Clone() public method

public Clone ( ) : WhereClause
return WhereClause

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetParameterCollections() protected method

protected GetParameterCollections ( ) : IEnumerable>
return IEnumerable>

GetSql() public method

public GetSql ( ) : string
return string

JoinOperator() protected method

protected JoinOperator ( ) : string
return string

MergeWhere() protected method

Adds a condition to the "Where" property, and returns self for chainability
protected MergeWhere ( IWhere item, JoinType joinType ) : void
item IWhere
joinType JoinType
return void

MustParenthesizeFor() public method

Returns true if any components of this query are of a different join type than the test
public MustParenthesizeFor ( JoinType joinType ) : bool
joinType JoinType
return bool

Set() public method

public Set ( string clause ) : IWhereClause
clause string
return IWhereClause

ToString() public method

public ToString ( ) : string
return string

Touch() public method

public Touch ( ) : void
return void

WhereClause() public method

public WhereClause ( ) : System
return System

WhereClause() public method

public WhereClause ( JoinType joinType ) : System
joinType JoinType
return System

Property Details

_InnerList protected_oe property

protected List _InnerList
return List

_Owner protected_oe property

protected ISqlQueryMaker _Owner
return ISqlQueryMaker