EF6 and pre-generated views

c# ef-code-first entity-framework t4

Accepted Answer

You are most likely encountering the this problem. Can you try this release and confirm that it was fixed in EF 6.1.0 alpha, as suggested by the title? If the error persists, would you be able to file a bug on https://entityframework.codeplex.com/WorkItem/Create? It will be very difficult to fix this error without the model, so make sure to attach it. Utilizing a different project of mine, interactive EF view generation, is an alternative strategy. More information is available at here and here. The project can be found at NuGet. Last but not least, is your model actually so large that you must use pre-generated views? I'm keen to know if using pre-generated views really speeds up your application's startup time because view generation has been significantly improved in EF6 (and additional improvements are expected in 6.1).

3
2/10/2014 4:24:02 AM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow