Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

Option to use instead of table value based type to stored procedure with C# in mysql? (no replies)

$
0
0
I have been trying to convert t-sql codes that I wrote for ms sql for a long time to mysql.

Since there is no table value based type on the mysql side, frankly, on the C# side, I couldn't quite figure out how to send the tables as parameters to the stored procedure.

Instead, I will try to do a parameterized insert operation by protecting it from injection on the C# side, but the number of rows I will insert is too many.

My only option for this is the addwithparameters method with a foreach loop with the IDbCommand class?

What are your recommendations?

Viewing all articles
Browse latest Browse all 1451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>