Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Are there any benefits of using LINQ to SQL?
Message
 
 
Information générale
Forum:
ASP.NET
Catégorie:
LINQ
Versions des environnements
Environment:
C# 3.0
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01440083
Message ID:
01440124
Vues:
94
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 ;-)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform