Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Entity Framework Entity objects
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 4.0
OS:
Vista
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01505339
Message ID:
01505379
Views:
50
Scott,

>I am trying to follow the steps in the users guide (version 4.0.0) to create entity framework Entity objects. IN step 4 of Adding an Entity Data Model to Your Project, it says:
>
>In the Solution Explorer, select the new .edmx file (it should already be selected). Go to the Properties panel and change the Custom Tool property from EntityModelCodeGenerator to mmEntityModelCodeGenerator (just add an "mm" prefix to the default value). This instructs Visual Studio to use MM .NET' s Entity Data Model code generator when generating entities from the diagram.
>
>I have done this. If I right click on the edmx file, and click Run Custom Tool, it says that the mmEntityModelCodeGenerator could not be found. I tried uninstalling an re-installing MM, but no help.

It looks like you have an older version of the MM .NET Dev Guide. With .NET 4.0 and EF 2, we no longer use a custom code generator, but use T4 templates instead. You can download the latest version of the MM .NET Dev Guide from our site.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform