C# Class 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 ///
Afficher le fichier Open project: jamietre/IQMap

Private Properties

Свойство Type Description
QueryBuilder System

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
QueryBuilder ( ) : System

Method Details

Create() public static méthode

public static Create ( ) : ISqlQueryMaker
Résultat ISqlQueryMaker

Create() public static méthode

public static Create ( QueryType type ) : ISqlQueryMaker
type QueryType
Résultat ISqlQueryMaker

OrderBy() public static méthode

public static OrderBy ( string clause ) : IOrderByClause
clause string
Résultat IOrderByClause

OrderBy() public static méthode

public static OrderBy ( string field, SortOrder order ) : IOrderByItem
field string
order SortOrder
Résultat IOrderByItem

Where() public static méthode

public static Where ( string field, object value, ComparisonType compare ) : IWhereItem
field string
value object
compare ComparisonType
Résultat IWhereItem

WhereAny() public static méthode

public static WhereAny ( ) : IWhereClause
Résultat IWhereClause

WhereEquals() public static méthode

Build a where clause for a field matching a value
public static WhereEquals ( string field, object value ) : IWhereItem
field string
value object
Résultat IWhereItem

WhereParse() public static méthode

Build a where clause from a string
public static WhereParse ( string clause ) : IWhere
clause string
Résultat IWhere