Initializes a new instance of the QueryKey class.

Namespace: NHibernate.Cache
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public QueryKey(
	ISessionFactoryImplementor factory,
	SqlString queryString,
	QueryParameters queryParameters,
	ISet filters
)
Visual Basic
Public Sub New ( _
	factory As ISessionFactoryImplementor, _
	queryString As SqlString, _
	queryParameters As QueryParameters, _
	filters As ISet _
)
Visual C++
public:
QueryKey(
	ISessionFactoryImplementor^ factory, 
	SqlString^ queryString, 
	QueryParameters^ queryParameters, 
	ISet^ filters
)

Parameters

factory
Type: NHibernate.Engine..::..ISessionFactoryImplementor
the session factory for this query key, required to get the identifiers of entities that are used as values.
queryString
Type: NHibernate.SqlCommand..::..SqlString
The query string.
queryParameters
Type: NHibernate.Engine..::..QueryParameters
The query parameters.
filters
Type: Iesi.Collections..::..ISet
The filters.

See Also