Last active
November 28, 2016 20:50
-
-
Save soen/8945e2ff3fa0624d937c20418f3bfffc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var lowerDate = new DateTime(2015, 10, 1); | |
var upperDate = new DateTime(2015, 10, 14); | |
var results = context.GetQueryable<SearchResultItem>() | |
.Where(x => x.CreatedDate >= lowerDate && x.CreatedDate <= upperDate); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment