The best method is any method that meets all functional and non-functional limitations.
What speed do you need, are there any problems with the current situation What is your backup / crash strategy
I would probably use SqlCommand.ExecuteNonQuery () because it is part of the .net runtime, which does not require additional installation of applications that the user does not need.
From your question, I assume that there is an existing application with a lot of inline query string. I would try to get into some kind of repository that automatically puts them on the server (as a stored procedure) and inside your code.
Do not be afraid of plain text files or other configuration files with a request.
source share