Does this Driver require the use of the Named Prefix when trying to reference the Parameter in the Command's Parameter collection.

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

Syntax

C#
public abstract bool UseNamedPrefixInParameter { get; }
Visual Basic
Public MustOverride ReadOnly Property UseNamedPrefixInParameter As Boolean
	Get
Visual C++
public:
virtual property bool UseNamedPrefixInParameter {
	bool get () abstract;
}

Remarks

This is really only useful when the UseNamedPrefixInSql == true. When this is true the code will look like:
CopyC#
IDbParameter param = cmd.Parameters["@paramName"]
if this is false the code will be
CopyC#
IDbParameter param = cmd.Parameters["paramName"]
.

See Also