C# Класс IQMap.SqlQueryBuilder.Impl.WhereClause

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

Защищенные свойства (Protected)

Свойство Тип Описание
_InnerList List
_Owner ISqlQueryMaker

Private Properties

Свойство Тип Описание
ISqlClause ISqlClause
IWhere IWhere
IWhereClause IWhereClause

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

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

Защищенные методы

Метод Описание
AddImpl ( ) : void
GetParameterCollections ( ) : IEnumerable>
JoinOperator ( ) : string
MergeWhere ( IWhere item, JoinType joinType ) : void

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

Приватные методы

Метод Описание
ISqlClause ( ) : ISqlClause
IWhere ( ) : IWhere
IWhereClause ( ) : IWhereClause

Описание методов

Add() публичный Метод

public Add ( IEnumerable criteria ) : IWhereClause
criteria IEnumerable
Результат IWhereClause

Add() публичный Метод

public Add ( IEnumerable criteria, JoinType joinType ) : IWhereClause
criteria IEnumerable
joinType JoinType
Результат IWhereClause

Add() публичный Метод

public Add ( IWhere condition ) : IWhereClause
condition IWhere
Результат IWhereClause

Add() публичный Метод

public Add ( IWhere condition, JoinType joinType ) : IWhereClause
condition IWhere
joinType JoinType
Результат IWhereClause

Add() публичный Метод

public Add ( string condition ) : IWhereClause
condition string
Результат IWhereClause

Add() публичный Метод

public Add ( string condition, JoinType joinType ) : IWhereClause
condition string
joinType JoinType
Результат IWhereClause

Add() публичный Метод

public Add ( string field, object value, ComparisonType comparisonType, JoinType joinType, bool parameterize = true ) : IWhereClause
field string
value object
comparisonType ComparisonType
joinType JoinType
parameterize bool
Результат IWhereClause

Add() публичный Метод

public Add ( string field, object value, ComparisonType comparisonType, bool parameterize = true ) : IWhereClause
field string
value object
comparisonType ComparisonType
parameterize bool
Результат IWhereClause

Add() публичный Метод

Add a simple "field = value" condition
public Add ( string field, object value, bool parameterize = true ) : IWhereClause
field string
value object
parameterize bool
Результат IWhereClause

AddImpl() защищенный Метод

protected AddImpl ( ) : void
Результат void

Clear() публичный Метод

public Clear ( ) : void
Результат void

Clone() публичный Метод

public Clone ( ) : WhereClause
Результат WhereClause

Equals() публичный Метод

public Equals ( object obj ) : bool
obj object
Результат bool

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

GetParameterCollections() защищенный Метод

protected GetParameterCollections ( ) : IEnumerable>
Результат IEnumerable>

GetSql() публичный Метод

public GetSql ( ) : string
Результат string

JoinOperator() защищенный Метод

protected JoinOperator ( ) : string
Результат string

MergeWhere() защищенный Метод

Adds a condition to the "Where" property, and returns self for chainability
protected MergeWhere ( IWhere item, JoinType joinType ) : void
item IWhere
joinType JoinType
Результат void

MustParenthesizeFor() публичный Метод

Returns true if any components of this query are of a different join type than the test
public MustParenthesizeFor ( JoinType joinType ) : bool
joinType JoinType
Результат bool

Set() публичный Метод

public Set ( string clause ) : IWhereClause
clause string
Результат IWhereClause

ToString() публичный Метод

public ToString ( ) : string
Результат string

Touch() публичный Метод

public Touch ( ) : void
Результат void

WhereClause() публичный Метод

public WhereClause ( ) : System
Результат System

WhereClause() публичный Метод

public WhereClause ( JoinType joinType ) : System
joinType JoinType
Результат System

Описание свойств

_InnerList защищенное свойство

protected List _InnerList
Результат List

_Owner защищенное свойство

protected ISqlQueryMaker _Owner
Результат ISqlQueryMaker