Re: .Add vs .AddWithValue using MySql.Data.MySqlClient in
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.

Gustavo Cuatepotzo

Options: ReplyQuote

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

Sorry, only registered users may post in this forum.

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.