C# Class JPB.DataAccess.Query.GenericQueryPart

Wrapper for Generic QueryCommand parts
Inheritance: ICloneable
Afficher le fichier Open project: JPVenson/DataAccess Class Usage Examples

Méthodes publiques

Méthode Description
Clone ( ) : object

FromCommand ( IDbCommand command, IQueryElement builder ) : GenericQueryPart

Wrapps the given command into a new QueryPart by storing its QueryCommand statement and parameter

GenericQueryPart ( string prefix ) : System

Creates a generic query part that can be used for any query

GenericQueryPart ( string prefix, IEnumerable parameters, IQueryBuilder builder ) : System

Creates a generic query part that can be used for any query

Render ( ) : string

For display

ToString ( ) : string

Private Methods

Méthode Description
Render ( StringBuilderInterlaced sb ) : void

For display

Method Details

Clone() public méthode

public Clone ( ) : object
Résultat object

FromCommand() public static méthode

Wrapps the given command into a new QueryPart by storing its QueryCommand statement and parameter
public static FromCommand ( IDbCommand command, IQueryElement builder ) : GenericQueryPart
command IDbCommand
builder IQueryElement
Résultat GenericQueryPart

GenericQueryPart() public méthode

Creates a generic query part that can be used for any query
public GenericQueryPart ( string prefix ) : System
prefix string
Résultat System

GenericQueryPart() public méthode

Creates a generic query part that can be used for any query
public GenericQueryPart ( string prefix, IEnumerable parameters, IQueryBuilder builder ) : System
prefix string
parameters IEnumerable
builder IQueryBuilder The type of building object
Résultat System

Render() public méthode

For display
public Render ( ) : string
Résultat string

ToString() public méthode

public ToString ( ) : string
Résultat string