阅读背景:

如何在MVC中更新模型

来源:互联网 

I'm wondering how you keep a constant value of the Model in an ASP.NET MVC framework. Like when adding something to the Model through the view. You go back to an action in the controller but where do you keep the Model? Is it a private in the controller? or is it passed back and forth from the view to the controller because if it gets big then you are passing alot of data back and forth to add/delete a single item from the Model.I'm wondering how you keep a constant value of




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

分享到: