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( )
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access