LINQ interview questions: -How does LINQ to SQL differ from Entity framework?
- By Shiv Prasad Koirala in SQL
- Oct 12th, 2011
- 15609
- 1
LINQ interview questions: -How does LINQ to SQL differ from Entity framework?
Following is the LINQ interview questions asked in an interview: -
• LINQ to SQL is good for rapid development with SQL Server. EF is for enterprise scenarios and works with SQL server as well as other databases.
• LINQ maps directly to tables. One LINQ entity class maps to one table. EF has a conceptual model and that conceptual model map to storage model via mappings. So one EF class can map to multiple tables or one table can map to multiple classes.
• LINQ is more targeted towards rapid development while EF is for enterprise level where the need is to develop loosely coupled framework.
View the following video on calling a stored procedure using LINQ: -
See more LINQ interview questions
Regards,
Visit author’s more LINQ interview questions
Shiv Prasad Koirala
Visit us @ www.questpond.com or call us at 022-66752917... read more

- By Shiv Prasad Koirala
- Jun 21st, 2013
- 152385
- 1
.NET interview questions 6th edition (Sixth edition) - By Shivprasad Koirala

- By Shiv Prasad Koirala
- Dec 8th, 2016
- 63156
- 1
Exception Handling in C# using example step by step

- By Shiv Prasad Koirala
- Sep 7th, 2013
- 62344
- 1