Questions tagged [breeze]

Breeze is a JavaScript library that helps manage data in a rich client application. You can query and save data as complex object graphs, and share these graphs across multiple screens of your JavaScript client.

Breeze is a JavaScript library that helps manage data in a rich client application. You can query and save data as complex object graphs, and share these graphs across multiple screens of your JavaScript client.

Headline features

  • Business data objects mirror your server-side model. Breeze creates them dynamically. Their properties bind to UI controls so the UI updates when your data model changes. Each object knows when it has changed and what has changed.

  • Query in a JavaScript query language with filters, ordering, and paging. Breeze queries implement the OData standard so you can “expand” the result with related entities or “project” over the data to cherry pick columns and flatten object graphs.

  • Save one entity or a batch of entities as a single transaction. Batch a mix of entity types (customers, orders, line-items) and data operations (inserts, updates, deletes).

  • Cache data on the client to reduce trips to the server and refresh as needed. Query a cache like you query the server. Save the cache locally and run offline; synch changes when you’re reconnected.

  • Extend the model with custom methods, properties, and events.

Download

Community

Getting started

Breeze in the wild

2797 questions
0
votes
1 answer

calling breeze from angular - service or controler - syntax please

I have an angular project. I am making an html/angular form - getting the data from a stored procedure via $http get in a service in angular. Now I want to databind some of the drop down lists in my filter that's in this html form. I have the data…
Lisa Solomon
  • 136
  • 2
  • 15
0
votes
1 answer

breeze - adding new models from linked database on same server

i have a big project in visual studio .net framework C# all set up already. It uses breeze usually to pull much of the data and queries. I see it's mostly done with just model classes (that look sort of like the tables fields) and mapping classes…
Lisa Solomon
  • 136
  • 2
  • 15
0
votes
1 answer

How to pass data to breeze Savechanges method for testing manually without binding to UI

I have to test whether the breeze saveChanges method is working.For that I am trying to pass a json array in the post method of breeze but when I check the post method in controller it says the saveBundle is null. How can I test the saveChanges…
Krishh
  • 1
  • 3
0
votes
1 answer

Block or extend Breeze metadata auto fetching

Current application - Angular application with Breeze. Application has ~7 entity managers and different data domains (metadata). When application runs we trying to fetch entity managers, like: app.run(['$rootScope', 'datacontext1', ... ],…
0
votes
2 answers

JQuery postJson adds a "0" when passing a variables value

here my first question on stackoverflow: I have a little problem: when passing a value from a html input field to a JQuery Json post i get a 0 in front of the text from the input. Can anyone tell me what I'm doing wrong? This is the post: $(…
Daniel D
  • 57
  • 9
0
votes
1 answer

Breeze.js: Returning empty set when requested database does not exist

Currently we are using Breeze.js and Angular to develop our applications. Due to some persistent legacy issues, we have two databases ('Kenya' and 'Rwanda') that cannot be merged at this time, but have the same schema and metadata. Most of the…
Beartums
  • 1,340
  • 1
  • 10
  • 15
0
votes
1 answer

breeze - help starting out

I am working on a c#/mvc/breeze/angular project in visual studio and I was asked to build entirely new functionality. Currently, we have a stored procedure set up and it's being used in an entirely different place to pull data and now we are…
Lisa Solomon
  • 136
  • 2
  • 15
0
votes
1 answer

Temphire (Angular) does not support deep links and refresh?

When playing with the Temphire app, I noticed that when I try to refresh a page by hitting F5, the application shows a blank page ! (ngViewport is not rendered)
Dido72
  • 11
  • 4
0
votes
1 answer

Breezejs - get detailed error message in queries

I am working on an application with ASP.Net/MVC/EF/Breeze/Angular and it is working in my development environment. I just deployed it to my test environment and I am getting an error when I try to query breeze entity data. I don't think it's a DB…
emaia
  • 430
  • 3
  • 13
0
votes
1 answer

How can you use BreezeJS without Entity Framework and OData?

How can Breeze JS be used to consume a pure, simple, plain old RESTful API? Consider a web api endpoint that does not support OData and does not have Microsoft Entity Framework as the OR/M layer. I see there's this Edmund's sample here, but I would…
Renato Xavier
  • 123
  • 1
  • 9
0
votes
1 answer

How to import entities after save changes with breeze across two entity managers

I've implemented repository pattern with two entity managers, mainManager is for read only and delete, and updateManager is used for edit and add new entities. I use createEmptyCopy() to create updateManager. Before i update an entity i export the…
Guy Bertental
  • 584
  • 2
  • 10
  • 24
0
votes
2 answers

when breeze child entity update parent entity state is not change

knockout SPA When I Add/Update child entity, parent entity state is not change. following Scenario I have this is client side change tracking using breeze public class Student { public int StudentId { get; set; } public string Name { get;…
Lalji Kanjareeya
  • 135
  • 2
  • 11
0
votes
1 answer

Breeze not loading all data into entities

I am having an issue where not all data that is being sent from the server is being loaded into the entities. I request an array of objects that contain another array of objects and when I examine the request I can see that all of the expected data…
JCherryhomes
  • 426
  • 4
  • 12
0
votes
1 answer

how to convert breeze entity to json

I know this question has been asked before and there is a very old post with some details however it is dated and there was some discussion to add this to breeze. I am using angularJS and a telerik component which doesn't work with breeze entities,…
Piotr Stulinski
  • 9,241
  • 8
  • 31
  • 46
0
votes
1 answer

Breeze type getProperty method does not work with Typescript

The breeze docs show this to get the property type for a property on an entity: //get the Person type var personType = em.metadataStore.getEntityType("Person"); //get the property definition to validate var websiteProperty =…
Vaccano
  • 78,325
  • 149
  • 468
  • 850
1 2 3
99
100