Is it possible to get the parsed text of a SqlCommand with SqlParameters?

后端 未结 4 2065
情话喂你
情话喂你 2020-12-11 02:00

What I am trying to do is create some arbitrary sql command with parameters, set the values and types of the parameters, and then return the parsed sql command - with parame

4条回答
  •  长情又很酷
    2020-12-11 02:25

    I would be tempted to look into using LINQ as it will give you the control you want in your C# code.

提交回复
热议问题