Wrox Programmer Forums
|
BOOK: Professional C# 2008 ISBN: 978-0-470-19137-8
This is the forum to discuss the Wrox book Professional C# 2008 by Christian Nagel, Bill Evjen, Jay Glynn, Morgan Skinner, Karli Watson; ISBN: 9780470191378
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C# 2008 ISBN: 978-0-470-19137-8 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 13th, 2009, 05:07 PM
Registered User
 
Join Date: Mar 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Join Operator in LINQ

Hi all,
I am struggling to convert this query syntax to method syntax.

I would like to know the Method Syntax(Lambda Expression) for the JOIN operator mentioned in the book on Pg 317

var racers = from r in Formula1.GetChampions()
from y in r.Years
where y > 2003
select new
{
Year = y,
Name = r.FirstName
+ " " + r.LastName
};

And also for the whole query where it uses the join.

Thanks a lot.





Similar Threads
Thread Thread Starter Forum Replies Last Post
LINQ vaibhavgoe LINQ 4 December 21st, 2009 03:49 PM
Join Operator - SQL Server 2005 carumuga SQL Server 2005 1 December 18th, 2008 10:26 AM
Invalid operator for data type. Operator equals di Pusstiu SQL Server 2000 2 August 10th, 2007 04:51 AM
Join Operator Figure Pg 928 Paid The Umpire BOOK: Ivor Horton's Beginning Visual C++ 2005 0 September 22nd, 2006 03:24 AM
Oracle 8i inner join and left join problem puteri_84 Oracle 2 August 19th, 2004 07:14 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.