Note that there are some explanatory texts on larger screens.

plurals
  1. USCarol AndorMarten Liebster
    primarykey
    data
    text
    plurals
    1. CORegarding the [Queryable] attribute - It stemmed from this same issue as this: http://stackoverflow.com/questions/18047449/web-api-expand-error-object-does-not-contain-a-definition-for-include . Without it I get this error when doing expand(): "ExceptionMessage":"'object' does not contain a definition for 'Include'","ExceptionType":"Microsoft.CSharp.RuntimeBinder.RuntimeBinderException"
      singulars
    2. COWhat other information would I need to show? The StackOverflow engine didn't show my image to the model, but puts it as a link instead. The XML part of the config was to force JSON results - I get the same results with or without that. I can execute the query with "ChallengeNotesInfo" (calls the server-side include), but Breeze doesn't seem to want bring in the Notes. My parent object is coming across just fine, but is showing challengeNotes[] as having zero entities. The metadata shows the Association and navigationProperty. http://www.volorecovery.com/images/capture2.png
      singulars
    3. COThis worked as expected (though I've not tried client side yet) -- I thought (and told by @Jay Traband) that by using expand() on the client this effectively do the same. It was appealing to me that I could do all these "projections" on the client without have to make custom methods for all my queries. I still may have done something to foobar it. `http://localhost:53644/breeze/data/ChallengeNotesInfo?$inlinecount=allpages` My method: ` [HttpGet] public IQueryable<Challenge> ChallengeNotesInfo() { return _contextProvider.Context.Challenges.Include(x => x.ChallengeNotes); }`
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload