C# Class Habanero.DB.QueryResultLoaderDb

Loads an IQueryResult given a ISelectQuery from the database.
Inheritance: IQueryResultLoader
Afficher le fichier Open project: Chillisoft/habanero

Méthodes publiques

Méthode Description
GetResultSet ( ISelectQuery selectQuery ) : IQueryResult

Populates a QueryResult using the given ISelectQuery. With this method you can execute a custom select query and get a result set back. If you are loading against a database, the IClassDef associated to the ISelectQuery will be used to map property names to database fields and will also be used to convert values that are returned from the database to the expected type. This can be used to get result sets that span tables.

QueryResultLoaderDb ( IDatabaseConnection databaseConnection ) : System.Data

Creates the result set loader with the given IDatabaseConnection

Method Details

GetResultSet() public méthode

Populates a QueryResult using the given ISelectQuery. With this method you can execute a custom select query and get a result set back. If you are loading against a database, the IClassDef associated to the ISelectQuery will be used to map property names to database fields and will also be used to convert values that are returned from the database to the expected type. This can be used to get result sets that span tables.
public GetResultSet ( ISelectQuery selectQuery ) : IQueryResult
selectQuery ISelectQuery The select query to execute
Résultat IQueryResult

QueryResultLoaderDb() public méthode

Creates the result set loader with the given IDatabaseConnection
public QueryResultLoaderDb ( IDatabaseConnection databaseConnection ) : System.Data
databaseConnection IDatabaseConnection
Résultat System.Data