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)

Syntax

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

Remarks

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

See Also