C# Class Frapid.Mapper.Sql

Mostrar archivo Open project: frapid/frapid Class Usage Examples

Public Methods

Method Description
And ( string token ) : Sql
Append ( Sql sql ) : Sql
Append ( string token ) : Sql
AppendParameters ( List parameters ) : void
From ( ) : Sql
GetParameterValues ( ) : List
GetParameters ( ) : IEnumerable
GetQuery ( ) : string
GroupBy ( ) : Sql
In ( string token ) : Sql
Limit ( DatabaseType type, int limit, int offset, string orderBy ) : Sql
OrderBy ( ) : Sql
Select ( ) : Sql
Sql ( ) : System
Sql ( string token ) : System
Where ( string token ) : Sql

Private Methods

Method Description
ProcessToken ( string token ) : string
ReplaceWord ( string token, string find, string replace ) : string

Method Details

And() public method

public And ( string token ) : Sql
token string
return Sql

Append() public method

public Append ( Sql sql ) : Sql
sql Sql
return Sql

Append() public method

public Append ( string token ) : Sql
token string
return Sql

AppendParameters() public method

public AppendParameters ( List parameters ) : void
parameters List
return void

From() public method

public From ( ) : Sql
return Sql

GetParameterValues() public method

public GetParameterValues ( ) : List
return List

GetParameters() public method

public GetParameters ( ) : IEnumerable
return IEnumerable

GetQuery() public method

public GetQuery ( ) : string
return string

GroupBy() public method

public GroupBy ( ) : Sql
return Sql

In() public method

public In ( string token ) : Sql
token string
return Sql

Limit() public method

public Limit ( DatabaseType type, int limit, int offset, string orderBy ) : Sql
type DatabaseType
limit int
offset int
orderBy string
return Sql

OrderBy() public method

public OrderBy ( ) : Sql
return Sql

Select() public method

public Select ( ) : Sql
return Sql

Sql() public method

public Sql ( ) : System
return System

Sql() public method

public Sql ( string token ) : System
token string
return System

Where() public method

public Where ( string token ) : Sql
token string
return Sql