C# Класс Castle.ActiveRecord.Queries.ActiveRecordMultiQuery

wrapper for an IMultiQuery that executes a collection of queries.
Наследование: IActiveRecordQuery
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

ActiveRecordMultiQuery() публичный Метод

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
Результат System

ActiveRecordMultiQuery() публичный Метод

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
Результат System

Add() публичный Метод

Add an IActiveRecordQuery to our ActiveRecordMultiQuery
public Add ( ActiveRecordBaseQuery activeRecordQuery ) : void
activeRecordQuery Castle.ActiveRecord.ActiveRecordBaseQuery IActiveRecordQuery to be added to the MultiQuery
Результат void

Enumerate() публичный Метод

(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
Результат System.Collections.IEnumerable

Execute() публичный Метод

Executes the specified query and return the results
public Execute ( ISession session ) : object
session ISession The session to execute the query in.
Результат object