Created
May 25, 2016 05:12
-
-
Save SimonDoy/c566d0558f86764c03d764b8f977401a 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
private IOrderedQueryable<InvoiceForm> GetAllQuery() | |
{ | |
var feedOptions = new FeedOptions { MaxItemCount = -1 }; | |
var documentCollectionUri = new Uri(_dataContext.DocumentCollection.DocumentCollection.AltLink, UriKind.RelativeOrAbsolute); | |
var query = _dataContext.Database.Client.CreateDocumentQuery<InvoiceForm>(documentCollectionUri, feedOptions); | |
return query; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment