C# Класс IQMap.QueryBuilder

Where Clause factory class /// Build a where clause from a string /// /// Return a clause requiring field to equal value /// /// Return a compound OR clause from two or more clauses /// Where Clause factory class /// Build a where clause from a string /// /// Return a clause requiring field to equal value /// /// Return a compound OR clause from two or more clauses ///
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
QueryBuilder System

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

Метод Описание
Create ( ) : ISqlQueryMaker
Create ( QueryType type ) : ISqlQueryMaker
OrderBy ( string clause ) : IOrderByClause
OrderBy ( string field, SortOrder order ) : IOrderByItem
Where ( string field, object value, ComparisonType compare ) : IWhereItem
WhereAny ( ) : IWhereClause
WhereEquals ( string field, object value ) : IWhereItem

Build a where clause for a field matching a value

WhereParse ( string clause ) : IWhere

Build a where clause from a string

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

Метод Описание
QueryBuilder ( ) : System

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

Create() публичный статический Метод

public static Create ( ) : ISqlQueryMaker
Результат ISqlQueryMaker

Create() публичный статический Метод

public static Create ( QueryType type ) : ISqlQueryMaker
type QueryType
Результат ISqlQueryMaker

OrderBy() публичный статический Метод

public static OrderBy ( string clause ) : IOrderByClause
clause string
Результат IOrderByClause

OrderBy() публичный статический Метод

public static OrderBy ( string field, SortOrder order ) : IOrderByItem
field string
order SortOrder
Результат IOrderByItem

Where() публичный статический Метод

public static Where ( string field, object value, ComparisonType compare ) : IWhereItem
field string
value object
compare ComparisonType
Результат IWhereItem

WhereAny() публичный статический Метод

public static WhereAny ( ) : IWhereClause
Результат IWhereClause

WhereEquals() публичный статический Метод

Build a where clause for a field matching a value
public static WhereEquals ( string field, object value ) : IWhereItem
field string
value object
Результат IWhereItem

WhereParse() публичный статический Метод

Build a where clause from a string
public static WhereParse ( string clause ) : IWhere
clause string
Результат IWhere