C# 클래스 Castle.ActiveRecord.Queries.ActiveRecordMultiQuery

wrapper for an IMultiQuery that executes a collection of queries.
상속: IActiveRecordQuery
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono

공개 메소드들

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