阅读背景:

如何使用Web Api控制器c#中的Async / await任务连接数据库并返回值

来源:互联网 

Hello i am trying to connect with database and return values from a web api controller.I want to do it all the way asynchronous with new task to have better performance if it is possible.here is an example of what i have done.Am i doing it the correct way?Am i using correct the using statements?is the await correct in Open,Close connection and sda.FillAsync ?Thanks!Hello i am trying to connect with database and




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: