Should I query on the server or on the client with BreezeJS?

Discussion in 'JavaScript Forum' started by Flame[skynet], Apr 9, 2013.

  1. Flame[skynet]

    Flame[skynet] New Member

    I'm developing a SPA web application with Durandal and BreezeJS. On my server I have a BreezeAPI which returns my metadata, returns all data in a specific table lets say cars and which alows me to post my changes (SaveChanges).No lets get back to where I get all the cars with the methode: \[code\][HttpGet] public IQueryable<tblCar>AllCars() { return _contextProvider.Context.Car; }\[/code\]I understand how I need to work with these but here is my question: Is it possible to query a specific car? Or is this only possible on the client-side where I query over my fetched data from AllCars?Hope that someone can clear the sky for me;)Gr. Leroy
     

Share This Page