Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Are there any benefits of using LINQ to SQL?
Message
 
General information
Forum:
ASP.NET
Category:
LINQ
Environment versions
Environment:
C# 3.0
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01440083
Message ID:
01440124
Views:
93
This message has been marked as a message which has helped to the initial question of the thread.
>Hi everybody,
>
>I'm learning LINQ right now and in the LINQ to SQL example I see that the generated SQL is not really optimized (I would write it myself differently).
>
>I'm wondering if you can tell me if there are advantages of using LINQ to SQL and elaborate on this topic in general.
>
>I see the simplicity of quering XML data with LINQ to XML or other type of data.
>
>Thanks in advance.

As Craig says, Microsoft is pushing the EF pretty hard as the preferred technology. Part of it is political, I'm sure, with EF coming from the data group and LINQ to SQL having been written as something of a wildcat project by the C# team.

Re the example you saw, just because it wasn't good SQL is no reason to dismiss the technology. One can write bad code in any language. I know ;-)
Previous
Reply
Map
View

Click here to load this message in the networking platform