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

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	query As String, _
	cacheable As Boolean, _
	cacheRegion As String, _
	timeout As Integer, _
	fetchSize As Integer, _
	flushMode As FlushMode, _
	readOnly As Boolean, _
	comment As String, _
	parameterTypes As IDictionary _
)
C#
public NamedQueryDefinition(
	string query,
	bool cacheable,
	string cacheRegion,
	int timeout,
	int fetchSize,
	FlushMode flushMode,
	bool readOnly,
	string comment,
	IDictionary parameterTypes
)
Visual C++
public:
NamedQueryDefinition(
	String^ query, 
	bool cacheable, 
	String^ cacheRegion, 
	int timeout, 
	int fetchSize, 
	FlushMode flushMode, 
	bool readOnly, 
	String^ comment, 
	IDictionary^ parameterTypes
)
JavaScript
NHibernate.Engine.NamedQueryDefinition = function(query, cacheable, cacheRegion, timeout, fetchSize, flushMode, readOnly, comment, parameterTypes);

Parameters

query
Type: System..::.String
cacheable
Type: System..::.Boolean
cacheRegion
Type: System..::.String
timeout
Type: System..::.Int32
fetchSize
Type: System..::.Int32
flushMode
Type: NHibernate..::.FlushMode
readOnly
Type: System..::.Boolean
comment
Type: System..::.String
parameterTypes
Type: System.Collections..::.IDictionary

See Also