EF Power Tools Beta 2 for pre-creating views (EF code first)

Anyone who has successfully used the Entity Framework Power Tools Beta 2 to pre-create views with the first EF code?

I get the error "The sequence does not contain matching elements."

My setup is this:

  • VS 2010 Ultimate
  • EF 4.2
  • MVC 3 (razor)
  • SQL Express 2008
+3
source share
3 answers

I had the same problem and it was resolved.

Ensure that the MVC web project is set up as a startup project.

+1
source

EF 4.2.0.0 . DbContext . VS - " EDM : <yourDbContext>! . : <yourDbContext>.Views.cs"

0

I had the same problem (with Beta 3 - and .NET 4/2010 / EF5, etc.) - the solution was relatively simple.
I just moved the project from the "solution catalog" to the root of the solution .

See this other post about using 'generated views .

Displaying a view in Entity using the first EF 5 code

Why, when I want to use EF Power tools to view my model, do I get an error?

0
source

All Articles