Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

HibernateAccessor.ApplyNamedParameterToQuery Method

Apply the given name parameter to the given Query object.

[Visual Basic]
Public Overridable Sub ApplyNamedParameterToQuery( _
   ByVal queryObject As IQuery, _
   ByVal paramName As String, _
   ByVal value As Object, _
   ByVal type As IType _
)
[C#]
public virtual void ApplyNamedParameterToQuery(
   IQuery queryObject,
   string paramName,
   object value,
   IType type
);

Parameters

queryObject
The query object.
paramName
Name of the parameter
value
The value of the parameter
type
The NHibernate type of the parameter (or
null
if none specified)

See Also

HibernateAccessor Class | Spring.Data.NHibernate Namespace