TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Programing Languages > C#(C Sharp)

Notices

Reply
 
Thread Tools Display Modes
Old 19-10-2007, 11:32 PM   #1
teddysnips@hotmail.com
Guest
 
Posts: n/a
Weird design decision in LinQ To SQL

I'm taking a look at LinQ to SQL and I'm mystified by a design
decision taken by the language design mavens.

Take this simple snipple:

var q =
from c in db.Customers
where c.City == "London"
select c.CompanyName;

Why is this not in the order that standard SQL takes - e.g.

var q =
select c.CompanyName
from c in db.Customers
where c.City == "London";

It Just Doesn't Make Sense.

Edward

  Reply With Quote
Reply

Thread Tools
Display Modes




New To Site? Need Help?

All times are GMT +5.5. The time now is 03:20 PM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2009, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional