Changes the parameterName into the correct format for an IDbParameter
for the Driver.
Namespace: NHibernate.DriverAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public string FormatNameForParameter( string parameterName ) |
Visual Basic |
---|
Public Function FormatNameForParameter ( _ parameterName As String _ ) As String |
Visual C++ |
---|
public: String^ FormatNameForParameter( String^ parameterName ) |
Parameters
- parameterName
- Type: System..::..String
The unformatted name of the parameter
Return Value
A parameter formatted for an IDbParameter.Remarks
For SqlServerConnectionProvider it will change id to @id