Wrox Programmer Forums
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 19th, 2011, 01:30 AM
Friend of Wrox
Join Date: Oct 2009
Posts: 341
Thanks: 14
Thanked 3 Times in 3 Posts
Smile LINQ to EF and LINQ to SQL

in Beginning....3.5 you introduced Linq 2 Sql and in Beginnning...4.0 Linq 2 EF.
But I wanna ask that what is the difference between 2 from coding or syntax point of view. As all examples in L2S are same in context of L2EF from syntax and coding point of view except for Diagram (.dbml).

Old October 19th, 2011, 12:16 PM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

Hi there,

That's the cool think about LINQ: once you understand the language, you can use it to query different data sources / data frameworks.

EF is L2S's "bigger brother". It offers a similar approach as L2S does for simple data access, but goes way beyond that. EF is Microsoft's data access technology for the future (at least for now).


Imar Spaanjaars
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!

Similar Threads
Thread Thread Starter Forum Replies Last Post
Exception on submit changes in LINQ to SQL mangel BOOK: Professional Visual Basic 2010 and .NET 4 15 April 5th, 2011 07:19 PM
LINQ to SQL or not? gvdamn BOOK: Professional DotNetNuke Module Programming ISBN: 978-0-470-17116-5 2 August 20th, 2009 05:08 AM
LINQ to SQL bakm04 BOOK: Professional C# 2008 ISBN: 978-0-470-19137-8 0 August 17th, 2009 04:07 PM
LINQ to SQL in TheBeerHouse zhoux BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 October 1st, 2008 07:37 AM
using Sql server 2000 with LINQ shashanksinha SQL Server 2000 2 August 20th, 2007 10:08 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.