What Are Your Thoughts On Entity Framework 4.0? [closed]

≯℡__Kan透↙ 提交于 2019-12-02 19:29:37

Well, at first glance, I didn't even understood the reason for EF's existense. Basically Linq To SQL is doing the same job with much less effort and it supports quite a few things that EF doesn't. Or at least that's the case in .NET 3.5.

In .NET 4, there is a gossip that Linq To SQL, although it remains there, will be sort of discontinued, and only EF will be developed further. (The decision that they chose to develop a flawed system insted of a working one, seems to me a little weird.)

All said, however, EF v4 will be just fine, if it really supports everything it claims to support.

(However, I don't know what advantages does it have over NHibernate, for example.)

Julie Lermann is doing a very good series of post on her blog recently that shows a lot of goodness about EF4. The best I think would be that you go through that blog and build yourself an opinion...

http://thedatafarm.com/Blog/

EF 4 is the version I was expected.
I wasn't really happy about the first release, LinqToSql felt really ahead in those days. Saying that, intern politic fight gave its verdict: L2S is dead...

Between the first versions of these two microsoft ORM, we saw the community blogging a lot about their poor behavior in n-tiers scenarios. So I am not very surprised that the two greatest new features are oriented in this way.

These two new features are totally complementary:

-POCO: induces low-coupled layers but demands some work to handle synchronization between tiers. -Self-Tracking Entities: induces tied-coupled layers but reduces tremendously the amount of code to provide...

For me, the choice is made. I would never choose productivity over healthy design.
Let's rock for POCO !

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!