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

Syntax

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

Parameters

query
Type: System..::.String
resultSetRef
Type: System..::.String
querySpaces
Type: System.Collections..::.IList
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
callable
Type: System..::.Boolean

See Also