Skip to content

Instantly share code, notes, and snippets.

@teradyne
Created January 31, 2012 18:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save teradyne/1712077 to your computer and use it in GitHub Desktop.
Save teradyne/1712077 to your computer and use it in GitHub Desktop.
Linqpad script : Get all Netflix Movies with rating > 4
//Linqpad script : Get all Netflix Movies with rating > 4
//Language: C# Expression
//Database: http://odata.netflix.com/Catalog/ (Add connection WCF Data Service (OData) Connection)
from lang in Languages
from title in lang.Titles
where lang.Name == "English" && title.Type == "Movie"
&& title.AverageRating > 4
orderby title.AverageRating descending
select new { name = title.Name, url = title.Url, rating = title.AverageRating}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment