As you now last week Microsoft release new version of the EF(4.1), you can download it here.
Based on our experience we normally start to developing projects from designing and creating a database, but this way has some problems.
the biggest problem is that when we start to design classes and objects in the code part of project, our classes will be so similar to tables and we normally do not use great features of OO design like inheritance and ...
another issue is that there are many developers that don't have enough knowledge about database and database design rules like normalization so it's hard for them to design a database.
but new version of the EF(4.1) support Code-Base design. what does it mean? it mean that you can design your classes, your UI and all part of your application without even creating a table.you application will start to work, without any table,view,sp or any other issue related to database.
obviously, if you want to save your data you need to have a database, that's not a problem you can ask EF to do that for you ;-).
ScottGu's as always has great post about this issue, he redesign his NerdDinner application using this new EF ability, do not lose it.
1 comment:
Good Article, Thanks
Post a Comment