阅读背景:

如何在Foreach循环中更新IList中的记录?

来源:互联网 

My controller is passing through a list which I then need to loop through and update every record in the list in my database. I'm using ASP.NET MVC with a repository pattern using Linq to Sql. The code below is my save method which needs to add a record to an invoice table and then update the applicable jobs in the job table from the db.My controller is passing through a list which I




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

分享到: