Change the parameterName into the correct format IDbCommand.CommandText for the ConnectionProvider

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

Syntax

Visual Basic (Declaration)
Public Function FormatNameForSql ( _
	parameterName As String _
) As String
C#
public string FormatNameForSql(
	string parameterName
)
Visual C++
public:
String^ FormatNameForSql(
	String^ parameterName
)
JavaScript
function formatNameForSql(parameterName);

Parameters

parameterName
Type: System..::.String
The unformatted name of the parameter

Return Value

A parameter formatted for an IDbCommand.CommandText

See Also