Skip to content

Instantly share code, notes, and snippets.

@nmackenzie
Created October 1, 2013 05:42
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 nmackenzie/6774310 to your computer and use it in GitHub Desktop.
Save nmackenzie/6774310 to your computer and use it in GitHub Desktop.
WAMS fragment
CloudMediaContext context =
new CloudMediaContext(ACCOUNT_NAME, ACCOUNT_KEY);
DateTime tenDaysAgo = DateTime.UtcNow.AddDays(-10);
var jobQuery =
from job in context.Jobs
where job.Created >= tenDaysAgo
select job;
List<IJob> jobs = jobQuery.ToList();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment