Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is Model Binding for MVC only?
Message
 
 
À
01/07/2014 14:18:14
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01602973
Message ID:
01603027
Vues:
40
>>Thank you. I always thought that I need to create a small DB and then do the EF from the existing database (since ultimately I will need to apply the EF to my existing database). But I am sure you know this technology better.
>>
>>>No, not really. You can forget about all the diagramming, etc. Use EF Code First (the default for MVC). Do the MVC Music Store walk-through http://www.asp.net/mvc/tutorials/mvc-5/introduction/getting-started. You'll get enough EF to get you going.
>>>
>>>Now, when you get to doing a real system with an existing DB, come back and find out how to make Code First bring in an existing DB.
>>>
>>>
>>>>I agree that learning on a small project is a better approach. But as you say "a small MVC app using EF" which implies that I need to know some basics about EF. And so far, I can't get my mind around it (EF). Or - probably more honest answer - didn't spend uninterrupted time learning.
>>>>Thank you.
>
>This tutorial took me about 4 hours.
>It handles most of the things that Craig mentions.
>
>
>http://www.asp.net/mvc/tutorials/getting-started-with-ef-using-mvc/creating-an-entity-framework-data-model-for-an-asp-net-mvc-application

Thank you. I will go to this link.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform