C# 클래스 Habanero.DB.QueryResultLoaderDb

Loads an IQueryResult given a ISelectQuery from the database.
상속: IQueryResultLoader
파일 보기 프로젝트 열기: Chillisoft/habanero

공개 메소드들

메소드 설명
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

메소드 상세

GetResultSet() 공개 메소드

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
리턴 IQueryResult

QueryResultLoaderDb() 공개 메소드

Creates the result set loader with the given IDatabaseConnection
public QueryResultLoaderDb ( IDatabaseConnection databaseConnection ) : System.Data
databaseConnection IDatabaseConnection
리턴 System.Data