20.1 Comments/TroubleshootingAll Parameter objects implement the IDbDataParameter and IDataParameter interfaces from the System.Data namespace, and are thus quite similar. Because IDbDataParameter extends IDataParameter , you can use the IDataParameter to access all functionality when writing provider- agnostic data access code. Provider-specific Parameter objects typically add a property that defines a database-specific data type for the parameter. Some Parameter classes for ADO.NET providers are shown in Table 20-1. Table 20-1. Provider-specific Parameter classes
![]() |