C# Class Castle.ActiveRecord.Queries.ActiveRecordMultiQuery

wrapper for an IMultiQuery that executes a collection of queries.
Inheritance: IActiveRecordQuery
Afficher le fichier Open project: nats/castle-1.0.3-mono

Méthodes publiques

Méthode Description
ActiveRecordMultiQuery ( Type RootType ) : System

Initializes a new instance of the ActiveRecordMultiQuery class.

ActiveRecordMultiQuery ( Type RootType, ActiveRecordBaseQuery activeRecordQueries ) : System

Initializes a new instance of the ActiveRecordMultiQuery class.

Add ( ActiveRecordBaseQuery activeRecordQuery ) : void

Add an IActiveRecordQuery to our ActiveRecordMultiQuery

Enumerate ( ISession session ) : System.Collections.IEnumerable

(Not Implemented!) Enumerates over the result of the query. Note: Only use if you expect most of your values to already exist in the second level cache!

Execute ( ISession session ) : object

Executes the specified query and return the results

Method Details

ActiveRecordMultiQuery() public méthode

Initializes a new instance of the ActiveRecordMultiQuery class.
public ActiveRecordMultiQuery ( Type RootType ) : System
RootType System.Type the root type for all of the queries that will be included in the IMultiQuery
Résultat System

ActiveRecordMultiQuery() public méthode

Initializes a new instance of the ActiveRecordMultiQuery class.
public ActiveRecordMultiQuery ( Type RootType, ActiveRecordBaseQuery activeRecordQueries ) : System
RootType System.Type the root type for all of the queries that will be included in the IMultiQuery
activeRecordQueries Castle.ActiveRecord.ActiveRecordBaseQuery an array of IActiveRecordQuery
Résultat System

Add() public méthode

Add an IActiveRecordQuery to our ActiveRecordMultiQuery
public Add ( ActiveRecordBaseQuery activeRecordQuery ) : void
activeRecordQuery Castle.ActiveRecord.ActiveRecordBaseQuery IActiveRecordQuery to be added to the MultiQuery
Résultat void

Enumerate() public méthode

(Not Implemented!) Enumerates over the result of the query. Note: Only use if you expect most of your values to already exist in the second level cache!
public Enumerate ( ISession session ) : System.Collections.IEnumerable
session ISession
Résultat System.Collections.IEnumerable

Execute() public méthode

Executes the specified query and return the results
public Execute ( ISession session ) : object
session ISession The session to execute the query in.
Résultat object