Create a new instance of Query for the given collection and filter string

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

Syntax

C#
IQuery CreateFilter(
	Object collection,
	string queryString
)
Visual Basic
Function CreateFilter ( _
	collection As Object, _
	queryString As String _
) As IQuery
Visual C++
IQuery^ CreateFilter(
	Object^ collection, 
	String^ queryString
)

Parameters

collection
Type: System..::..Object
A persistent collection
queryString
Type: System..::..String
A hibernate query

Return Value

A query

See Also