Created
July 1, 2016 21:03
-
-
Save JudahGabriel/74f0d52035c79fd439e250d273143b41 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
// Load up the RecipeViewModels stored in our index. | |
var recipeViewModel = ravenSession.Query<RecipeViewModel, RecipeViewModelIndex>() | |
.Where(r => r.Name == "Sweet honey glazed salmon") | |
.ProjectFromIndexFieldsInto<RecipeViewModel>() | |
.First(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment