title: breeze: creating client-side entities with data coming from third-party service
body: <p>I'm getting data from a third-party service and while I had no issues converting to breeze entities, I have one particular scenario that puzzles me:</p>
  
  <p>the data structure I receive is this one (simplified for the sake of clarity)</p>
  
  <p>{
  TotalRecords: 72,
  Contractors: [ { name: 'test} , {name: 'test2'}]
  }</p>
  
  <p>in my jsonResultAdpater, I have created an <code>extractResults</code> method, which returns <code>data.results.Contractors</code>.
  And in my  <code>visitNode</code> method, I can convert objects of the Contactors array to breeze entities.</p>
  
  <p>But I've lost the TotalRecords property on the way....   This should be passed somehow to the controller that initiated the call to the third-party webservice.</p>
  
  <p>How would I do that ? </p>
  
  <p>adapter:</p>
  
  <pre><code> extractResults: function (data) {
              var results = data.results;               
              return results &amp;&amp; results.Contractors
          },
  
          visitNode: function (node, parseContext, nodeContext) {               
  
              if (node &amp;&amp; node.Type === 'ContractorFrameworkDTO') {
                  return { entityType: "Freelancer" };
             } 
          }
  </code></pre>