>I guess it'd be even funnier if I posted some more examples, in that case? ;-)
>
>Lets just leave it and focus on the other issue, dLinq et al.
>
>Darn, I was locked and loaded...but sure, that's fine. ;)
>
>Actually, I'd be happy to talk about Linq to SQL (dLinq is actually the 'old' name). Implementing the newer T-SQL '05 language features within the LINQ to SQL constructs comes to mind. More later...
>
I have to admit Linq syntax still seems surreal to me, with the FROM clause preceding the SELECT clause. Yes, I know it's to enable Intellisense in the SELECT clause, and to the extent that it encourages developers to select the fields they really need instead of SELECT *, that's a good thing. It's just that the "old" syntax is so ingrained in me it feels like muscle memory.
SELECT [field1], .... [fieldN] ;
FROM [table1], .... [tableN] ;
WHERE [condition1] .... [conditionN] ;
INTO whatever
That's the way God intended it <g>.
If this is my biggest hurdle in learning Linq I will be very fortunate. It just looks weird, that's all.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement