Skip to content

Instantly share code, notes, and snippets.

@soen
Last active November 28, 2016 20:50
Show Gist options
  • Save soen/31918b81e7f0895d236b24892fec8161 to your computer and use it in GitHub Desktop.
Save soen/31918b81e7f0895d236b24892fec8161 to your computer and use it in GitHub Desktop.
// Lower and upper dates are still the same as in the previous example
var results = context.GetQueryable<SearchResultItem>()
.Where(x => x.CreatedDate.Between(lowerDate, upperDate, Inclusion.Both));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment