Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DelegatingDbProvider.CreateParameterName Method

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

[Visual Basic]
Public Overridable Sub CreateParameterName( _
   ByVal name As String _
) _
    Implements IDbProvider.CreateParameterName
[C#]
public virtual 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

DelegatingDbProvider Class | Spring.Data.Common Namespace