Name
IDbDataParameter
Synopsis
This interface represents a parameter for a parameterized query or
stored procedure Command
. A provider implements
this interface in a provider-specific parameter object, such as
System.Data.SqlClient.SqlParameter
. The
properties include Precision
(the maximum number
of digits for numeric values), Scale
(the maximum
number of decimal places), and Size
(the maximum
size of the value, in bytes). Other properties are inherited from the
IDataParameter
interface, which this interface
implements.
public interface IDbDataParameter : IDataParameter { // Public Instance Properties public byte Precision{set; get; } public byte Scale{set; get; } public int Size{set; get; } }
Implemented By
System.Data.OleDb.OleDbParameter
, System.Data.OracleClient.OracleParameter
, System.Data.SqlClient.SqlParameter
Returned By
IDbCommand.CreateParameter( )
Get ADO.NET in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.