1

I have a MVC project that i created models from my database. I am trying to add a new view from Visual Studio 2013 (update models from database clicking the add tab) but the view doesn't add to my project. The update wizards adds successfully new tables but not new views from db. Is there any other way to add my view?

2
  • 1
    are you selecting Your Views in "Add" Tab while updating ? Commented Apr 11, 2014 at 5:59
  • Yes I am selecting the views. When I add tables it works fine, the problem is for the views Commented Apr 11, 2014 at 6:26

3 Answers 3

2

problem solved when i checked from sql management studio to include an id field in select statement from the view.

Sign up to request clarification or add additional context in comments.

Comments

0

Although the resource is quite an old one, it should help anyways:

http://blogs.msdn.com/b/alexj/archive/2009/09/01/tip-34-how-to-work-with-updatable-views.aspx

Comments

0

Hi This same problem i handled three days back.There is a problem in your visual studio. Please install visual studio update in your system.The resources are in the online.

http://www.microsoft.com/en-us/download/details.aspx?id=42307 Visit this page and download and install it surely will work

Thanks

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.