Initializes a new instance of the NamedSQLQueryDefinition class

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

Syntax

C#
public NamedSQLQueryDefinition(
	string query,
	string resultSetRef,
	IList<string> querySpaces,
	bool cacheable,
	string cacheRegion,
	int timeout,
	int fetchSize,
	FlushMode flushMode,
	Nullable<CacheMode> cacheMode,
	bool readOnly,
	string comment,
	IDictionary<string, string> parameterTypes,
	bool callable
)
Visual Basic
Public Sub New ( _
	query As String, _
	resultSetRef As String, _
	querySpaces As IList(Of String), _
	cacheable As Boolean, _
	cacheRegion As String, _
	timeout As Integer, _
	fetchSize As Integer, _
	flushMode As FlushMode, _
	cacheMode As Nullable(Of CacheMode), _
	readOnly As Boolean, _
	comment As String, _
	parameterTypes As IDictionary(Of String, String), _
	callable As Boolean _
)
Visual C++
public:
NamedSQLQueryDefinition(
	String^ query, 
	String^ resultSetRef, 
	IList<String^>^ querySpaces, 
	bool cacheable, 
	String^ cacheRegion, 
	int timeout, 
	int fetchSize, 
	FlushMode flushMode, 
	Nullable<CacheMode> cacheMode, 
	bool readOnly, 
	String^ comment, 
	IDictionary<String^, String^>^ parameterTypes, 
	bool callable
)

Parameters

query
Type: System..::..String

[Missing <param name="query"/> documentation for "M:NHibernate.Engine.NamedSQLQueryDefinition.#ctor(System.String,System.String,System.Collections.Generic.IList{System.String},System.Boolean,System.String,System.Int32,System.Int32,NHibernate.FlushMode,System.Nullable{NHibernate.CacheMode},System.Boolean,System.String,System.Collections.Generic.IDictionary{System.String,System.String},System.Boolean)"]

resultSetRef
Type: System..::..String

[Missing <param name="resultSetRef"/> documentation for "M:NHibernate.Engine.NamedSQLQueryDefinition.#ctor(System.String,System.String,System.Collections.Generic.IList{System.String},System.Boolean,System.String,System.Int32,System.Int32,NHibernate.FlushMode,System.Nullable{NHibernate.CacheMode},System.Boolean,System.String,System.Collections.Generic.IDictionary{System.String,System.String},System.Boolean)"]

querySpaces
Type: System.Collections.Generic..::..IList<(Of <(<'String>)>)>

[Missing <param name="querySpaces"/> documentation for "M:NHibernate.Engine.NamedSQLQueryDefinition.#ctor(System.String,System.String,System.Collections.Generic.IList{System.String},System.Boolean,System.String,System.Int32,System.Int32,NHibernate.FlushMode,System.Nullable{NHibernate.CacheMode},System.Boolean,System.String,System.Collections.Generic.IDictionary{System.String,System.String},System.Boolean)"]

cacheable
Type: System..::..Boolean

[Missing <param name="cacheable"/> documentation for "M:NHibernate.Engine.NamedSQLQueryDefinition.#ctor(System.String,System.String,System.Collections.Generic.IList{System.String},System.Boolean,System.String,System.Int32,System.Int32,NHibernate.FlushMode,System.Nullable{NHibernate.CacheMode},System.Boolean,System.String,System.Collections.Generic.IDictionary{System.String,System.String},System.Boolean)"]

cacheRegion
Type: System..::..String

[Missing <param name="cacheRegion"/> documentation for "M:NHibernate.Engine.NamedSQLQueryDefinition.#ctor(System.String,System.String,System.Collections.Generic.IList{System.String},System.Boolean,System.String,System.Int32,System.Int32,NHibernate.FlushMode,System.Nullable{NHibernate.CacheMode},System.Boolean,System.String,System.Collections.Generic.IDictionary{System.String,System.String},System.Boolean)"]

timeout
Type: System..::..Int32

[Missing <param name="timeout"/> documentation for "M:NHibernate.Engine.NamedSQLQueryDefinition.#ctor(System.String,System.String,System.Collections.Generic.IList{System.String},System.Boolean,System.String,System.Int32,System.Int32,NHibernate.FlushMode,System.Nullable{NHibernate.CacheMode},System.Boolean,System.String,System.Collections.Generic.IDictionary{System.String,System.String},System.Boolean)"]

fetchSize
Type: System..::..Int32

[Missing <param name="fetchSize"/> documentation for "M:NHibernate.Engine.NamedSQLQueryDefinition.#ctor(System.String,System.String,System.Collections.Generic.IList{System.String},System.Boolean,System.String,System.Int32,System.Int32,NHibernate.FlushMode,System.Nullable{NHibernate.CacheMode},System.Boolean,System.String,System.Collections.Generic.IDictionary{System.String,System.String},System.Boolean)"]

flushMode
Type: NHibernate..::..FlushMode

[Missing <param name="flushMode"/> documentation for "M:NHibernate.Engine.NamedSQLQueryDefinition.#ctor(System.String,System.String,System.Collections.Generic.IList{System.String},System.Boolean,System.String,System.Int32,System.Int32,NHibernate.FlushMode,System.Nullable{NHibernate.CacheMode},System.Boolean,System.String,System.Collections.Generic.IDictionary{System.String,System.String},System.Boolean)"]

cacheMode
Type: System..::..Nullable<(Of <(<'CacheMode>)>)>

[Missing <param name="cacheMode"/> documentation for "M:NHibernate.Engine.NamedSQLQueryDefinition.#ctor(System.String,System.String,System.Collections.Generic.IList{System.String},System.Boolean,System.String,System.Int32,System.Int32,NHibernate.FlushMode,System.Nullable{NHibernate.CacheMode},System.Boolean,System.String,System.Collections.Generic.IDictionary{System.String,System.String},System.Boolean)"]

readOnly
Type: System..::..Boolean

[Missing <param name="readOnly"/> documentation for "M:NHibernate.Engine.NamedSQLQueryDefinition.#ctor(System.String,System.String,System.Collections.Generic.IList{System.String},System.Boolean,System.String,System.Int32,System.Int32,NHibernate.FlushMode,System.Nullable{NHibernate.CacheMode},System.Boolean,System.String,System.Collections.Generic.IDictionary{System.String,System.String},System.Boolean)"]

comment
Type: System..::..String

[Missing <param name="comment"/> documentation for "M:NHibernate.Engine.NamedSQLQueryDefinition.#ctor(System.String,System.String,System.Collections.Generic.IList{System.String},System.Boolean,System.String,System.Int32,System.Int32,NHibernate.FlushMode,System.Nullable{NHibernate.CacheMode},System.Boolean,System.String,System.Collections.Generic.IDictionary{System.String,System.String},System.Boolean)"]

parameterTypes
Type: System.Collections.Generic..::..IDictionary<(Of <(<'String, String>)>)>

[Missing <param name="parameterTypes"/> documentation for "M:NHibernate.Engine.NamedSQLQueryDefinition.#ctor(System.String,System.String,System.Collections.Generic.IList{System.String},System.Boolean,System.String,System.Int32,System.Int32,NHibernate.FlushMode,System.Nullable{NHibernate.CacheMode},System.Boolean,System.String,System.Collections.Generic.IDictionary{System.String,System.String},System.Boolean)"]

callable
Type: System..::..Boolean

[Missing <param name="callable"/> documentation for "M:NHibernate.Engine.NamedSQLQueryDefinition.#ctor(System.String,System.String,System.Collections.Generic.IList{System.String},System.Boolean,System.String,System.Int32,System.Int32,NHibernate.FlushMode,System.Nullable{NHibernate.CacheMode},System.Boolean,System.String,System.Collections.Generic.IDictionary{System.String,System.String},System.Boolean)"]

See Also