Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DbProvider.CreateParameterName Method

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

[Visual Basic]
Public NotOverridable Sub CreateParameterName( _
   ByVal name As String _
) _
    Implements IDbProvider.CreateParameterName
[C#]
public string CreateParameterName(
   string name
);

Parameters

name
The unformatted name of the parameter.

Return Value

The parameter name formatted foran IDbCommand.CommandText.

Implements

IDbProvider.CreateParameterName

Remarks

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

See Also

DbProvider Class | Spring.Data.Common Namespace