''IDbDataParameter'' '''

IDbDataParameter

System.Data (system.data.dll) interface

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( )



    Part I: ADO.NET Tutorial
    Part II: ADO.NET Core Classes
    Part III: API Quick Reference
    Chapter 34. The System.Data Namespace