Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IDbProvider.CreateParameterName Method

Creates the name of the parameter in the format appropriate to use inside IDbCommand.CommandText.

[Visual Basic]
Public Sub CreateParameterName( _
   ByVal name As String _
)
[C#]
string CreateParameterName(
   string name
);

Parameters

name
The unformatted name of the parameter.

Return Value

The parameter name formatted foran IDbCommand.CommandText.

Remarks

In most cases this adds the parameter prefix to the name passed into this method.

See Also

IDbProvider Interface | Spring.Data.Common Namespace