Which ADO.NET provider-specific classes allow you to define parameters differently for different database systems?

  • OdbcParameter
  • OleDbParameter
  • OracleParameter
  • SqlParameter
SqlParameter is an ADO.NET provider-specific class that allows you to define parameters differently for different database systems. It provides a way to specify parameters in a uniform manner across various database providers, such as SQL Server, Oracle, MySQL, etc. This flexibility allows developers to write database-independent code while still ensuring proper parameterization and security against SQL injection attacks.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *