Re: .Add vs .AddWithValue using MySql.Data.MySqlClient in ADO.net
Posted by: Gustavo Cuatepotzo
Date: February 05, 2021 05:30PM

Hello Mary,
The only difference is AddWithValue will infer the data type from the value passed as parameter, there's no impact in performance but you can save some lines of code, we keep both options to let users decide which one they want to use.


Regards.
Gustavo Cuatepotzo

Options: ReplyQuote


Subject
Written By
Posted
Re: .Add vs .AddWithValue using MySql.Data.MySqlClient in ADO.net
February 05, 2021 05:30PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.