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

Query that return a single result
Наследование: Castle.ActiveRecord.Queries.HqlBasedQuery
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ScalarQuery ( Type targetType, QueryLanguage queryLanguage, string query ) : System

Initializes a new instance of the ScalarQuery class.

ScalarQuery ( Type targetType, string query ) : System

Initializes a new instance of the ScalarQuery class.

Защищенные методы

Метод Описание
InternalEnumerate ( ISession session ) : IEnumerable

Creates a single-position object array containing the query's scalar result.

InternalExecute ( ISession session ) : object

Executes the query and returns its scalar result.

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

InternalEnumerate() защищенный Метод

Creates a single-position object array containing the query's scalar result.
protected InternalEnumerate ( ISession session ) : IEnumerable
session ISession The NHibernate's
Результат IEnumerable

InternalExecute() защищенный Метод

Executes the query and returns its scalar result.
protected InternalExecute ( ISession session ) : object
session ISession The NHibernate's
Результат object

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

Initializes a new instance of the ScalarQuery class.
public ScalarQuery ( Type targetType, QueryLanguage queryLanguage, string query ) : System
targetType System.Type Type of the target.
queryLanguage QueryLanguage The query language.
query string The query.
Результат System

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

Initializes a new instance of the ScalarQuery class.
public ScalarQuery ( Type targetType, string query ) : System
targetType System.Type Type of the target.
query string The query.
Результат System