C# Class Habanero.BO.QueryResultLoaderInMemory

Loads an IQueryResult given a ISelectQuery from an in memory data store (DataStoreInMemory)
Inheritance: IQueryResultLoader
Mostrar archivo Open project: Chillisoft/habanero

Public Methods

Method 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.

QueryResultLoaderInMemory ( DataStoreInMemory dataStore ) : System.Linq

Constructor - give it the dataStore to load from.

Method Details

GetResultSet() public method

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
return IQueryResult

QueryResultLoaderInMemory() public method

Constructor - give it the dataStore to load from.
public QueryResultLoaderInMemory ( DataStoreInMemory dataStore ) : System.Linq
dataStore DataStoreInMemory
return System.Linq