为了账号安全,请及时绑定邮箱和手机立即绑定

LINQ to SQL

LINQ to SQL

Helenr 2018-11-15 05:02:26
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?
查看完整描述

1 回答

?
泛舟湖上清波郎朗

TA贡献1818条经验 获得超3个赞

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).


查看完整回答
反对 回复 2018-11-20
  • 1 回答
  • 0 关注
  • 342 浏览

添加回答

举报

0/150
提交
取消
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号