C# Class MicroLite.Builder.SqlBuilderBase

Inheritance: IToSqlQuery
Afficher le fichier Open project: TrevorPilley/MicroLite

Méthodes publiques

Méthode Description
ToSqlQuery ( ) : SqlQuery

Creates a SqlQuery from the values specified.

This method is called to return an SqlQuery once query has been defined.

Méthodes protégées

Méthode Description
AddBetween ( object lower, object upper, bool negate ) : void
AddIn ( SqlQuery subQuery, bool negate ) : void
AddIn ( object args, bool negate ) : void
AddLike ( object comparisonValue, bool negate ) : void
AddWithComparisonOperator ( object comparisonValue, string comparisonOperator ) : void
AppendTableName ( IObjectInfo objectInfo ) : void

Appends the table name to the inner sql.

AppendTableName ( string table ) : void

Appends the table name to the inner sql.

SqlBuilderBase ( SqlCharacters sqlCharacters ) : System

Initialises a new instance of the SqlBuilderBase class.

Method Details

AddBetween() protected méthode

protected AddBetween ( object lower, object upper, bool negate ) : void
lower object
upper object
negate bool
Résultat void

AddIn() protected méthode

protected AddIn ( SqlQuery subQuery, bool negate ) : void
subQuery SqlQuery
negate bool
Résultat void

AddIn() protected méthode

protected AddIn ( object args, bool negate ) : void
args object
negate bool
Résultat void

AddLike() protected méthode

protected AddLike ( object comparisonValue, bool negate ) : void
comparisonValue object
negate bool
Résultat void

AddWithComparisonOperator() protected méthode

protected AddWithComparisonOperator ( object comparisonValue, string comparisonOperator ) : void
comparisonValue object
comparisonOperator string
Résultat void

AppendTableName() protected méthode

Appends the table name to the inner sql.
protected AppendTableName ( IObjectInfo objectInfo ) : void
objectInfo IObjectInfo The object information.
Résultat void

AppendTableName() protected méthode

Appends the table name to the inner sql.
protected AppendTableName ( string table ) : void
table string The name of the table.
Résultat void

SqlBuilderBase() protected méthode

Initialises a new instance of the SqlBuilderBase class.
protected SqlBuilderBase ( SqlCharacters sqlCharacters ) : System
sqlCharacters MicroLite.Characters.SqlCharacters The SQL characters for the builder.
Résultat System

ToSqlQuery() public méthode

Creates a SqlQuery from the values specified.
This method is called to return an SqlQuery once query has been defined.
public ToSqlQuery ( ) : SqlQuery
Résultat SqlQuery