Initializes a new instance of the NamedQueryDefinition class

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

Syntax

C#
public NamedQueryDefinition(
	string query,
	bool cacheable,
	string cacheRegion,
	int timeout,
	int fetchSize,
	FlushMode flushMode,
	Nullable<CacheMode> cacheMode,
	bool readOnly,
	string comment,
	IDictionary<string, string> parameterTypes
)
Visual Basic
Public Sub New ( _
	query As 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) _
)
Visual C++
public:
NamedQueryDefinition(
	String^ query, 
	bool cacheable, 
	String^ cacheRegion, 
	int timeout, 
	int fetchSize, 
	FlushMode flushMode, 
	Nullable<CacheMode> cacheMode, 
	bool readOnly, 
	String^ comment, 
	IDictionary<String^, String^>^ parameterTypes
)

Parameters

query
Type: System..::..String

[Missing <param name="query"/> documentation for "M:NHibernate.Engine.NamedQueryDefinition.#ctor(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})"]

cacheable
Type: System..::..Boolean

[Missing <param name="cacheable"/> documentation for "M:NHibernate.Engine.NamedQueryDefinition.#ctor(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})"]

cacheRegion
Type: System..::..String

[Missing <param name="cacheRegion"/> documentation for "M:NHibernate.Engine.NamedQueryDefinition.#ctor(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})"]

timeout
Type: System..::..Int32

[Missing <param name="timeout"/> documentation for "M:NHibernate.Engine.NamedQueryDefinition.#ctor(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})"]

fetchSize
Type: System..::..Int32

[Missing <param name="fetchSize"/> documentation for "M:NHibernate.Engine.NamedQueryDefinition.#ctor(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})"]

flushMode
Type: NHibernate..::..FlushMode

[Missing <param name="flushMode"/> documentation for "M:NHibernate.Engine.NamedQueryDefinition.#ctor(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})"]

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

[Missing <param name="cacheMode"/> documentation for "M:NHibernate.Engine.NamedQueryDefinition.#ctor(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})"]

readOnly
Type: System..::..Boolean

[Missing <param name="readOnly"/> documentation for "M:NHibernate.Engine.NamedQueryDefinition.#ctor(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})"]

comment
Type: System..::..String

[Missing <param name="comment"/> documentation for "M:NHibernate.Engine.NamedQueryDefinition.#ctor(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})"]

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

[Missing <param name="parameterTypes"/> documentation for "M:NHibernate.Engine.NamedQueryDefinition.#ctor(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})"]

See Also