Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Entity Framework Entity objects
Message
De
29/03/2011 10:40:53
 
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 4.0
OS:
Vista
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01505339
Message ID:
01505356
Vues:
52
>>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.
>>
>>ANy ideas?
>
>If no one else answers, go to the expert -- Julie Lerman. She is synonymous with the EF.

This is one for Kevin, not Julie. the custom T4 template that it is looking for is an MM thing.


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform