Re: .Add vs .AddWithValue using MySql.Data.MySqlClient in ADO.net
Posted by: Mary O'Brien
Date: February 06, 2021 12:20AM

I believe the type is inferred by ADO.net and ADO.net can be wrong. The difference between a varchar and nvarchar can slow things down. It was the difference between the 2 providers that was of interest. So with the default MySql provider in in the framework you do not necessarily promote .AddWithValue.

Options: ReplyQuote


Subject
Written By
Posted
Re: .Add vs .AddWithValue using MySql.Data.MySqlClient in ADO.net
February 06, 2021 12:20AM


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.