Create a new query parameter to use in a ICriterion

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

Syntax

C#
IEnumerable<Parameter> NewQueryParameter(
	TypedValue parameter
)
Visual Basic
Function NewQueryParameter ( _
	parameter As TypedValue _
) As IEnumerable(Of Parameter)
Visual C++
IEnumerable<Parameter^>^ NewQueryParameter(
	TypedValue^ parameter
)

Parameters

parameter
Type: NHibernate.Engine..::..TypedValue
The value and the IType of the parameter.

Return Value

A new instance of a query parameter to be added to a SqlString.

See Also