Skip to content

Instantly share code, notes, and snippets.

@cmatskas
Created July 7, 2015 10:55
Show Gist options
  • Save cmatskas/cfe20245f4360a1c425e to your computer and use it in GitHub Desktop.
Save cmatskas/cfe20245f4360a1c425e to your computer and use it in GitHub Desktop.
LINQ query
var itemsToDelete = from p in dbContext.SnowManagements
where siteIds.Contains(p.SiteId)
&& p.Created.Date == DateTime.Today.Date)
select p;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment