Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Classes for EF - newbie question
Message
 
 
À
06/12/2015 11:06:41
Information générale
Forum:
ASP.NET
Catégorie:
Entity Framework
Versions des environnements
Environment:
C# 4.0
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01628544
Message ID:
01628552
Vues:
32
I will be using EF 7 as a starting point, since I have not used EF before.
Do you download Entity Framework Power Tools via nuget? And I don't mind writing the code by hand (for at least a few tables) so that I learn better what goes into it. I have never before created domain classes so it is all new to me.
Thank you.

>For EF 7, you'll have to create each class. For EF 6, don't use the designer, but download the Entity Framework Power Tools. You can use it to generate the entity classes for you.
>
>
>>Hi,
>>
>>I am watching one of the Pluralsight courses on EF (by Julie Lerman). The first thing she creates is a class project with a file .classes where she writes 3 classes (Ninja, Clan, NinjaEquipment).
>>
>>Does it mean that when I prepare my application database to be used with EF I have to create a similar class library classes.cs with a class for each of the tables in my database?
"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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform