Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DbMetadata.UseParameterPrefixInSql Property

Gets a value indicating whether the Provider requires the use of a named prefix in the SQL string.

[Visual Basic]
Public NotOverridable ReadOnly Property UseParameterPrefixInSql() As Boolean _
    Implements IDbMetadata.UseParameterPrefixInSql

   Public Get
   End Get
End Property
[C#]
public bool UseParameterPrefixInSql { public get; }

Property Value

true if use parameter prefix in SQL; otherwise, false.

Implements

IDbMetadata.UseParameterPrefixInSql

Remarks

The OLE DB/ODBC .NET Provider does not support named parameters for passing parameters to an SQL Statement or a stored procedure called by an IDbCommand when CommandType is set to Text.

See Also

DbMetadata Class | Spring.Data.Common Namespace