Skip to content

Instantly share code, notes, and snippets.

@lohithgn
Created March 13, 2018 22:24
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 lohithgn/8c880e84716e02bd1d85962684ce0f7e to your computer and use it in GitHub Desktop.
Save lohithgn/8c880e84716e02bd1d85962684ce0f7e to your computer and use it in GitHub Desktop.
//Query Document
Volcano rainierVolcano = client.CreateDocumentQuery<Volcano>(
UriFactory.CreateDocumentCollectionUri(dbName,collectionName))
.Where(v => v.VolcanoName == "Rainier")
.AsEnumerable()
.FirstOrDefault();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment