Initializes a new instance of the SQLCustomQuery class

Namespace: NHibernate.Loader.Custom.Sql
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public SQLCustomQuery(
	INativeSQLQueryReturn[] queryReturns,
	string sqlQuery,
	ICollection<string> additionalQuerySpaces,
	ISessionFactoryImplementor factory
)
Visual Basic
Public Sub New ( _
	queryReturns As INativeSQLQueryReturn(), _
	sqlQuery As String, _
	additionalQuerySpaces As ICollection(Of String), _
	factory As ISessionFactoryImplementor _
)
Visual C++
public:
SQLCustomQuery(
	array<INativeSQLQueryReturn^>^ queryReturns, 
	String^ sqlQuery, 
	ICollection<String^>^ additionalQuerySpaces, 
	ISessionFactoryImplementor^ factory
)

Parameters

queryReturns
Type: array<NHibernate.Engine.Query.Sql..::..INativeSQLQueryReturn>[]()[][]

[Missing <param name="queryReturns"/> documentation for "M:NHibernate.Loader.Custom.Sql.SQLCustomQuery.#ctor(NHibernate.Engine.Query.Sql.INativeSQLQueryReturn[],System.String,System.Collections.Generic.ICollection{System.String},NHibernate.Engine.ISessionFactoryImplementor)"]

sqlQuery
Type: System..::..String

[Missing <param name="sqlQuery"/> documentation for "M:NHibernate.Loader.Custom.Sql.SQLCustomQuery.#ctor(NHibernate.Engine.Query.Sql.INativeSQLQueryReturn[],System.String,System.Collections.Generic.ICollection{System.String},NHibernate.Engine.ISessionFactoryImplementor)"]

additionalQuerySpaces
Type: System.Collections.Generic..::..ICollection<(Of <(<'String>)>)>

[Missing <param name="additionalQuerySpaces"/> documentation for "M:NHibernate.Loader.Custom.Sql.SQLCustomQuery.#ctor(NHibernate.Engine.Query.Sql.INativeSQLQueryReturn[],System.String,System.Collections.Generic.ICollection{System.String},NHibernate.Engine.ISessionFactoryImplementor)"]

factory
Type: NHibernate.Engine..::..ISessionFactoryImplementor

[Missing <param name="factory"/> documentation for "M:NHibernate.Loader.Custom.Sql.SQLCustomQuery.#ctor(NHibernate.Engine.Query.Sql.INativeSQLQueryReturn[],System.String,System.Collections.Generic.ICollection{System.String},NHibernate.Engine.ISessionFactoryImplementor)"]

See Also