Create a new instance of ISQLQuery for the given SQL query string. Entities returned by the query are detached.

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

Syntax

C#
ISQLQuery CreateSQLQuery(
	string queryString
)
Visual Basic
Function CreateSQLQuery ( _
	queryString As String _
) As ISQLQuery
Visual C++
ISQLQuery^ CreateSQLQuery(
	String^ queryString
)

Parameters

queryString
Type: System..::..String
A SQL query

Return Value

The ISQLQuery

See Also