C# Class MicroLite.Builder.RawWhereBuilder

Show file Open project: TrevorPilley/MicroLite Class Usage Examples

Public Methods

Method Description
Append ( string predicate ) : RawWhereBuilder

Appends the specified predicate (the WHERE keyword will be set when calling ApplyTo so it doesn't need specifying in the predicate).

Append ( string predicate, object arg ) : RawWhereBuilder

Appends the specified predicate (the WHERE keyword will be set when calling ApplyTo so it doesn't need specifying in the predicate).

ApplyTo ( IWhereOrOrderBy selectFrom ) : IAndOrOrderBy

Applies the predicate defined in this predicate builder to the result of SqlBuilder.Select().From().

ToString ( ) : string

Returns a System.String that represents this instance.

Method Details

Append() public method

Appends the specified predicate (the WHERE keyword will be set when calling ApplyTo so it doesn't need specifying in the predicate).
public Append ( string predicate ) : RawWhereBuilder
predicate string The predicate to be appended.
return RawWhereBuilder

Append() public method

Appends the specified predicate (the WHERE keyword will be set when calling ApplyTo so it doesn't need specifying in the predicate).
public Append ( string predicate, object arg ) : RawWhereBuilder
predicate string The predicate to be appended.
arg object The argument value.
return RawWhereBuilder

ApplyTo() public method

Applies the predicate defined in this predicate builder to the result of SqlBuilder.Select().From().
thrown if selectFrom is null.
public ApplyTo ( IWhereOrOrderBy selectFrom ) : IAndOrOrderBy
selectFrom IWhereOrOrderBy The result of the select from method call.
return IAndOrOrderBy

ToString() public method

Returns a System.String that represents this instance.
public ToString ( ) : string
return string