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

Object doesn't support this property or method in IE8: _normalizeServiceName

I'm upgrading my app from .NET 4.0 to 4.5, and upgrading Breeze.js from 1.4.17 to 1.5.4. Things seem to be working well in IE11 and other browsers, but in IE8 (or in IE11 in IE8 mode) I am getting an "Object doesn't support this property or method"…
Mark
  • 8,140
  • 1
  • 14
  • 29
0
votes
1 answer

Breeze predicate: column = null vs column IS NULL

Can breeze predicate test for null column? SQL test for null in two ways: columnname = null and columnname IS NULL, which generate different results. I have a breeze predicate set as new breeze.Predicate("columnname", "==", null) Using EF6…
jpo
  • 3,959
  • 20
  • 59
  • 102
0
votes
1 answer

Breeze.js: Ampersand character ("&") in where clause throws error

Here is the JavaScript code to create my Breeze query: var query = new breeze.EntityQuery().from("suppliers"). where("Name", op.Contains, "&"). select("Name"). orderBy("Name"). take(50); When I send…
Jer
  • 383
  • 3
  • 17
0
votes
1 answer

Is BreezeJS ready to work with angular 2 or will updates be needed?

Is BreezeJS ready to work with angular 2 or will updates be needed? Are there different nuget packages or anything?
Dan Soltesz
  • 898
  • 1
  • 9
  • 16
0
votes
1 answer

hot towel angular 1.2 - web ap(i) with breeze

I've developed, 2 years ago, a little web app with the .Net project template hot towel angular breeze. It used to work perfectly at this time. I've decided to make it work recently but it doesn't work anymore. In this application there are these…
fguigui
  • 294
  • 1
  • 4
  • 11
0
votes
0 answers

aurelia-breeze validation with custom elements

NOTE: This scenario is the same as the one from this question: Data binding parent-child relationships in Aurelia The Code: usage:
Vaccano
  • 78,325
  • 149
  • 468
  • 850
0
votes
1 answer

use of expand in breeze when mapping to DTOs on the server

I have had to move queries off the main database in order to meet requirements for complex authorization - for example a user with a given authorization role can only view data for individuals in the same institution. I am using the Breeze .net…
Brent
  • 4,611
  • 4
  • 38
  • 55
0
votes
2 answers

BreezeController does not get the JObject (it is null)

I have a javascript app that is using BreezeJs. When I call saveChanges, the entities get converted to javascript and sent over the wire. (I confirmed this with fiddler.) But when I put a breakpoint in my Web Api Controller, the JObject for…
Vaccano
  • 78,325
  • 149
  • 468
  • 850
0
votes
1 answer

breeze - error Converting circular structure to JSON at Object.stringify (native) when altering sql view called by breeze

Here is my error: Converting circular structure to JSON at Object.stringify (native) I see clearly what is causing it: When I change the view that Breeze is calling. I change the view to join to a linked database and that's fine, but as soon as…
Lisa Solomon
  • 136
  • 2
  • 15
0
votes
1 answer

Breeze Predicate on on to zero/or Related Porperty

How to filter an entity to only get records where the related property (one to zero/one relationship) is not null? From the docs, i get this to filter cutomers with no orders: var p = Predicate.create("orders", "any", "id", "!=", null).not(); var…
jpo
  • 3,959
  • 20
  • 59
  • 102
0
votes
1 answer

breezejs data.results different and wrong compared to data.httpresponse.data

The only difference between my code and the examples are that I'm using version 1.5.4 and the examples use 1.5.3. var query = new breeze.EntityQuery.from('resourcemgt/providers').orderByDesc('Edi').skip(0).take(10); …
joel1618
  • 353
  • 4
  • 11
0
votes
1 answer

Breeze.Server.WebApi2 Unable to locate Dependency WebActivator

When I try to add the package 'Breeze.Server.WebApi2' thru my package.json: "dependencies": { ... "System.Threading": "4.0.11-beta-23516", "AutoMapper": "4.2.0", "Breeze.Server.WebApi2": "1.5.4" }, I get the error: Restoring…
0
votes
2 answers

Breeze->EF6 updating some changed columns, but not all

I've got a Breeze Context Provider talking to a EF 6.1.1, database-first, application with SQL Server that I'm having some trouble with. I can INSERT a new record, but when I update it, not all the changed columns get written to the database. I…
pathrider
  • 844
  • 2
  • 12
  • 27
0
votes
2 answers

Breeze.js used in production anywhere?

I haven't seen recent updates to the Breeze website (except for the Copyright), and I can't find any evidence that this is actually used in a production website. Does anyone know if this is a viable production ready product, or is this just a…
CJ_
  • 1
  • 2
0
votes
1 answer

breeze - saving after loaded by stored procedure

I have a grid loaded with angular function calling stored procedure and i want to add to the grid a textbox and save it with breeze (part of the saving - insert will be pulling columns from the grid loaded by the sp) . how can i do that? here is…
Lisa Solomon
  • 136
  • 2
  • 15
1 2 3
99
100