Entity Framework 5.0 Beta - will DbContext code generation template be provided?

I worked a little ahead and planned to switch from EF 4.2 CTP to EF 5.0 and when the "add code generation template" in VS11 + .NET 4.5, the DbContext template is no longer available. Any heads-up if someone is available, and if not why (just curious)?

Update:

I see links to the DbContext template in the Enum tutorial, but still I do not see the template in my VS11 project with .NET 4.5 targeting with EF5.0 -pre installed. I see two other V5.0 templates (EntityObject and Self-Tracking). Could this be a conflict with other installations, for example, in my case, CTP Entity-Framework 4.2? I ran into template problems in which VS could not decide what to use System.Data.Entity and use 4.2 by default when testing EF 5.0.

Update 2:

A new installation of the beta version of Windows Server 8 with a fresh installation of Visual Studio 11 Beta, there is still no EF5 DbContext code generation template. EF 4.2 and the template extensions from VS 2010 are not installed, in fact, none of them is VS 2010. Just fyi ...

Code Generation Templates Screenshot

+5
entity-framework-5 entity-framework
Mar 26 2018-12-12T00:
source share
1 answer

I have not tested this myself, but in accordance with this release and version of the Entity Framework, it will be provided.

Try installing EntityFramework 5 Beta 2 using the EntityFramework -pre installation package and then install the EF 5.x DbContext Generator for C #

Please note that starting with the Entity Framework version 4.1, the Entity Framework is not part of .NET, but is built on .NET. Therefore, I think that any related tools will be released separately in the nuget or visualstudio gallery.

+6
Mar 30 '12 at 6:22
source share



All Articles