// Query for the honey glazed salmon recipe | |
// and transform it into a RecipeViewModel. | |
var recipeViewModel = ravenSession.Query<Recipe>() | |
.TransformWith<RecipeViewModelTransformer, RecipeViewModel>() | |
.Where(r => r.Name == "Sweet honey glazed salmon") | |
.First(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment