How to work most competently with SQL from C #?
Are there any good tone conventions? Now I can write the queries directly in C # code and wrap it in a method,
I can also wrap all requests in procedures (up to Select * from table ) and pull them through the code.
Where is the golden mean?
I read several patterns, but not one did not answer the question when it is better to use the procedures, and when it is better to describe a separate method for this. And so and so the code will work, but another question: "How competently?"
If you wrap up all the procedures, the code will, in my opinion, be cleaner, since there will be no SELECT * from t JOIN t2 ... strings that are not usual for the language, but there will be just something like "exec Report". But nowhere did I find confirmation of my point of view.