LINQ Query Syntax C# vs. VB vs. SQL
Posted by: Paul Litwins Blog,
on 09 Jun 2008 |
View original | Bookmarked: 0 time(s)
FWIW, I found it helpful to create this table to compare the query syntax of C# and VB and how it translates into SQL. C# LINQVB LINQANSI SQLfromFromFROMselectSelectSELECTwhereWhereWHEREorderbyOrder ByORDER BYjoinJoinJOINgroupGroup ByGROUP BYDistinct()DistinctDISTINCTintoIntoINTOletLetASCount(), Sum(),…AggregateCOUNT, SUM,… with no groupSkip()Skipn/aSkipWhile()Skip Whilen/aTake()Taken/aTakeWhile()Take Whilen/aShare this post: email it! | bookmark it! | digg it! | reddit! | kick...