阅读背景:

如何通过一次往返向SQL Server 2008发送多个命令

来源:互联网 

I want to send multiple parametrized update, insert and delete commands to a sql server database in one round trip. I've looked at sqlbulkcopy but that appears to only work with one mapping/table/statement at a time. I was hoping for some thing a more flexible. I don't need to get any results from any of the queries (ie: affected row count) but I do want failures to be propagated back to the app layer and so that the transaction can be rolled back. Any ideas?I want to send multiple parametrized update, in




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

分享到: