DekGenius.com
[ Team LiB ] Previous Section Next Section

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

    [ Team LiB ] Previous Section Next Section