I have many times had use for the 101 LINQ samples by Microsoft when needing to refresh how to do different kind of queries in with Linq. Often I prefer to have them expressed in Lambda or "fluent" syntax instead of query syntax though, so it has always bothered me that they haven't published them in both formats. Luckily there are tools that allow you to automate conversion between the two formats. I used Resharper by Jetbrains to perform the conversion semi-automatically and have now published all 101*) examples for you in lambda/fluent syntax.
*) Actually there are 102, but hey :)
Head over to linq101.nilzorblog.com to see the result.
Download source (VS2010 project): linq101-lambda-source.zip
Sunday, May 19, 2013
Subscribe to:
Post Comments (Atom)
Hi Frode,
ReplyDeleteThanks for sharing queries with Lamda Expressions.
It would be great if you could attach the complete code as zip.I don't have Resharper.
Thanks,
Ketan
Certainly. Post now edited with link to source code. Sorry for late answer.
DeleteThanks a lot
ReplyDeleteThank you ...really helpful contents :)
ReplyDeleteI would be nice if you could take all the samples in "LINQ 101 Samples - Lambda Style" and make them available as a pdf document to be downloaded
ReplyDelete
ReplyDeleteشركة نقل عفش
اهم شركات مكافحة حشرات بالخبر كذلك معرض اهم شركة مكافحة حشرات بالدمام والخبر والجبيل والخبر والاحساء والقطيف كذلك شركة رش حشرات بالدمام ومكافحة الحشرات بالخبر
شركة مكافحة حشرات بالدمام
شركة تنظيف خزانات بجدة الجوهرة من افضل شركات تنظيف الخزانات بجدة حيث ان تنظيف خزانات بجدة يحتاج الى مهارة فى كيفية غسيل وتنظيف الخزانات الكبيرة والصغيرة بجدة على ايدى متخصصين فى تنظيف الخزانات بجدة
شركة تنظيف خزانات بجدة
شركة كشف تسربات المياه بالدمام
شركة نقل عفش واثاث
ReplyDeleteشركة نقل عفش بالرياض وجدة والدمام والخبر والجبيل اولقطيف والاحساء والرياض وجدة ومكة المدينة المنورة والخرج والطائف وخميس مشيط وبجدة افضل شركة نقل عفش بجدة نعرضها مجموعة الفا لنقل العفش بمكة والخرج والقصيم والطائف وتبوك وخميس مشيط ونجران وجيزان وبريدة والمدينة المنورة وينبع افضل شركات نقل الاثاث بالجبيل والطائف وخميس مشيط وبريدة وعنيزو وابها ونجران المدينة وينبع تبوك والقصيم الخرج حفر الباطن والظهران
شركة نقل عفش بجدة
شركة نقل عفش بالمدينة المنورة
شركة نقل اثاث بالرياض
شركة نقل عفش بالدمام
ReplyDeleteشركة نقل عفش بالطائف
شركة نقل عفش بمكة
شركة نقل عفش بينبع
شركة نقل عفش بالخرج
شركة نقل عفش ببريدة
Hi Frode,
ReplyDeleteI tried downloading the zip file but I am not able to access the link.
Request you to kindly fix it!