C# Class Castle.ActiveRecord.Queries.ActiveRecordCriteriaQuery

Criteria Query Note: This query can not be included in a MultiQuery. the problem is that NHibernate does not have a real CriteriaQuery class
Inheritance: Castle.ActiveRecord.Queries.HqlBasedQuery
Show file Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
ActiveRecordCriteriaQuery ( Type targetType, DetachedCriteria detachedCriteria ) : System

Initializes a new instance of the ActiveRecordCriteriaQuery class.

ActiveRecordCriteriaQuery ( Type targetType, ICriterion criterias ) : System

Initializes a new instance of the ActiveRecordCriteriaQuery class.

Protected Methods

Method Description
InternalExecute ( ISession session ) : object

Executes the query.

Method Details

ActiveRecordCriteriaQuery() public method

Initializes a new instance of the ActiveRecordCriteriaQuery class.
public ActiveRecordCriteriaQuery ( Type targetType, DetachedCriteria detachedCriteria ) : System
targetType System.Type The target type.
detachedCriteria DetachedCriteria Criteria applied to the query
return System

ActiveRecordCriteriaQuery() public method

Initializes a new instance of the ActiveRecordCriteriaQuery class.
public ActiveRecordCriteriaQuery ( Type targetType, ICriterion criterias ) : System
targetType System.Type The target type.
criterias ICriterion Criteria applied to the query
return System

InternalExecute() protected method

Executes the query.
protected InternalExecute ( ISession session ) : object
session ISession The NHibernate's
return object