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



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;


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

The comments to this entry are closed.

IMPORTANT: This is archived - and quite likely outdated - content, only kept online for reference purposes

Please visit thinktecture.com for up-to-date technical content.