« Silverlight 5 | Main | Basta! On Tour Samples »

12/08/2010

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a012876b389bb970c0148c6892671970c

Listed below are links to weblogs that reference A few LINQ Queries:

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

James C

But if you a full normalized database, then the Years property is a foreign key to a table:

public Racer Champion {get; set;}
public int Year {get; set;}

Then our query could be:

from y in YearChampions
where years.Contains(y.Year)
select y.Champion;

Christian

Yes, if it's a normalized database. In the sample here it's just linq to objects with a simple collection of Racer objects :-)

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment