javascript - Breeze JS client side with .net 3.5 possible? -


breeze js supported in net 4 or 4.5? can use breeze in client side , server .net 3.5. using ado.net datalayer , not using entity framework. miss of features of breeze js if use .net 3.5? had seen many articles breeze js , mvc. how can done .net 3.5? suggestions appreciated.

to support breezejs client, server should 3 things:

  1. provide metadata client
  2. interpret queries client, , respond data
  3. save changes come in client

all 3 of these provided in .net 4.5 efcontextprovider (for entity framework) , nhcontext (for nhibernate). need find way implement these solution.

metadata: can written hand or generated ef @ design time (even if aren't using ef @ runtime). if need metadata project, don't need general-purpose metadata generation tool.

queries: can simple or complicated application requires. filtering on single field, sorting, , skip , take pagination, may sufficient. can implement parameterized queries, don't need parse url. limits types of queries can perform client, may need.

saves: breeze "save bundles" array of entities, each entityaspect tells type of change (added, modified, deleted) , fields changed. need apply these operations database. note order in applied important (parent records must added before child records, child records must deleted before parent records).

in efcontextprovider, lot of work done ef itself. in nhcontext, queries taken care of using nh linq, metadata generation , save handling had written in breeze.contextprovider.nh. can @ code on github inspiration. @ nodb sample, doesn't use ef or nh.

please let know come with. breeze without orm interesting topic.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -