首页 新闻 会员 周边 捐助

LINQ to SQL

0
悬赏园豆:100 [已解决问题] 解决于 2008-10-22 22:52

1.What is the key difference between ADO.NET Entities and LINQ to SQL?

2.What is the performance hit of LINQ to SQL compared to writing data methods with commands and parameters?

chenming的主页 chenming | 初学一级 | 园豆:0
提问于:2008-10-22 17:01
< >
分享
最佳答案
0

1.LINQ to SQL is an ORM over your relational database schema plus some mappings. LINQ to Entities is an ORM over a conceptual object-less model (ERM) that is a mapping over your relational database schema.

2.There is of course a performance cost of both translating queries into SQL and materializing results as objects. The relative cost of this depends on how complicated the query is and how much data is being retrieved. Yet much of this can be mitigated for server apps by using compiled queries (available soon).

RicoRui | 老鸟四级 |园豆:3663 | 2008-10-22 17:57
其他回答(1)
0

这有linq的专题.

http://kb.cnblogs.com/zt/linq/

侯垒 | 园豆:3435 (老鸟四级) | 2008-10-22 17:33
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册