实体框架MVC 4 [英] Entity Framework MVC 4
本文介绍了实体框架MVC 4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
我有一个带有一些文本框的表单,它正在从sqldatabase中检索数据,我在服务层中有检索代码。在同一个服务层,我有一个代码"db.modelname.savechanges()",我在视图中有一个保存按钮,
,每当我点击保存按钮时,它会回发并转到索引页面。有没有什么方法可以跟踪发生的事件,如果是的话我应该把breapoint放在哪里.. !!
解决方案
你应该发布到下面论坛的MVC部分。
Hello there,
i have a form with some textboxes which is retreiving the data from the sqldatabase and i have the retrieval code in the service layer. In the same service layer, i have a code "db.modelname.savechanges()", and i have a save button in the view, and whenever i click the save button, it posts back and goes to the index page. Is there any way i can track events taking place, if yes where should i put the breapoint..!!
解决方案
You should post to the MVC section in the below forum.
这篇关于实体框架MVC 4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文