Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Classes for EF - newbie question
Message
 
 
General information
Forum:
ASP.NET
Category:
Entity Framework
Environment versions
Environment:
C# 4.0
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01628544
Message ID:
01628556
Views:
39
Correction: Dmitry is NOT using; he is learning :).

As to the "nightmare", if all your domain classes are in one class library, why is it a problem to update the CS class library with the structure change(s)? (I am just trying to understand what future brings for me :).

>Didn't know Dimtry was using EF7....
>
>Haven't used it but wouldn't be sorry to see the designer go - tweaking it or dealing with SQL table changes was always a bit of a nightmare...
>
>>Are you suggesting using the designer? It's gone in EF 7.
>>
>>
>>>Depends. Sounds like she is doing 'code first' - in which case .NET will create the required tables in SQL based on the classes.
>>>For an existing database the alternative is to simply add an Entity Data Model to the project and specify which tables you want to use - that will create the classes for you.
"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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform