C# Class Castle.ActiveRecord.Queries.SimpleQuery

Simple query.
Inheritance: Castle.ActiveRecord.Queries.HqlBasedQuery
Mostra file Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
SimpleQuery ( Type returnType, QueryLanguage queryLanguage, string query ) : System

Creates a new SimpleQuery.

SimpleQuery ( Type targetType, Type returnType, QueryLanguage queryLanguage, string query ) : System

Creates a new SimpleQuery.

SimpleQuery ( Type targetType, Type returnType, string query ) : System

Creates a new SimpleQuery.

SimpleQuery ( Type returnType, string query ) : System

Creates a new SimpleQuery.

Protected Methods

Method Description
InternalExecute ( ISession session ) : object

Executes the query and converts the results into a strongly-typed array of returnType.

Method Details

InternalExecute() protected method

Executes the query and converts the results into a strongly-typed array of returnType.
protected InternalExecute ( ISession session ) : object
session ISession The NHibernate's
return object

SimpleQuery() public method

Creates a new SimpleQuery.
public SimpleQuery ( Type returnType, QueryLanguage queryLanguage, string query ) : System
returnType System.Type
queryLanguage QueryLanguage
query string
return System

SimpleQuery() public method

Creates a new SimpleQuery.
public SimpleQuery ( Type targetType, Type returnType, QueryLanguage queryLanguage, string query ) : System
targetType System.Type
returnType System.Type
queryLanguage QueryLanguage
query string
return System

SimpleQuery() public method

Creates a new SimpleQuery.
public SimpleQuery ( Type targetType, Type returnType, string query ) : System
targetType System.Type
returnType System.Type
query string
return System

SimpleQuery() public method

Creates a new SimpleQuery.
public SimpleQuery ( Type returnType, string query ) : System
returnType System.Type
query string
return System