breeze

“Unable to satisfy package dependency constraints” with Breeze.Server.WebAPI2

家住魔仙堡 提交于 2019-12-01 20:51:56
I am trying to add the Breeze.Server.WebAPI2 Nuget package to Visual Studio Community 2015 RC. When I click on install I get "Unable to satisfy package dependency constraints" The listed dependencies are: Microsoft.AspNet.WebApi.OData (>= 5.2.2 && < 6.0.0) Microsoft.AspNet.WebApi.WebHost (>= 5.2.2 && < 6.0.0) Breeze.Server.ContextProvider (=1.5.4) WebActivator I tried adding the missing dependencies using their own packages, and now my packages.config looks like this: <?xml version="1.0" encoding="utf-8"?> <packages> <package id="Breeze.Server.ContextProvider" version="1.5.4" targetFramework=

“Unable to satisfy package dependency constraints” with Breeze.Server.WebAPI2

冷暖自知 提交于 2019-12-01 20:26:20
问题 I am trying to add the Breeze.Server.WebAPI2 Nuget package to Visual Studio Community 2015 RC. When I click on install I get "Unable to satisfy package dependency constraints" The listed dependencies are: Microsoft.AspNet.WebApi.OData (>= 5.2.2 && < 6.0.0) Microsoft.AspNet.WebApi.WebHost (>= 5.2.2 && < 6.0.0) Breeze.Server.ContextProvider (=1.5.4) WebActivator I tried adding the missing dependencies using their own packages, and now my packages.config looks like this: <?xml version="1.0"

Breezejs Double trouble in angularjs

ⅰ亾dé卋堺 提交于 2019-12-01 20:22:33
I am trying to change a value in a angular view from a integer to a float/double value that is bind to ngmodel. The input don’t except anything other than a integer. My guess is that breeze does something in the background to validate the value or something on the "defined properties". But my knowledge of JavaScript prototyping is very limiting aka I need to learn it.. This is really hard to explain so I created a plunk that can hopefully help: http://plnkr.co/edit/Gcj0VvBE3f8DRbIjMtqt?p=preview In the plunk I also added a normal object to test the same values and it is working as expected

Breeze.js typed entities

懵懂的女人 提交于 2019-12-01 19:22:43
问题 Is there a way to create typed entities using Breeze in the same way that JaySvcUtil works for JayData? Does this include Typescript support - also is there general Typescript support within the Breeze framework? 回答1: We do have plans to do more with TypeScript, but haven't yet committed to a specific time frame. (Boris's work, mentioned in John's post, is certainly a great start). UPDATE: As of v 0.84.4, Breeze provides full TypeScript support. As far as automatically generating design time

Breeze.js typed entities

断了今生、忘了曾经 提交于 2019-12-01 19:20:13
Is there a way to create typed entities using Breeze in the same way that JaySvcUtil works for JayData? Does this include Typescript support - also is there general Typescript support within the Breeze framework? Jay Traband We do have plans to do more with TypeScript, but haven't yet committed to a specific time frame. (Boris's work, mentioned in John's post, is certainly a great start). UPDATE: As of v 0.84.4, Breeze provides full TypeScript support. As far as automatically generating design time Javascript classes for each entity; we have had several internal discussions on this, but are

BreezeJS's 1.4.1 isolateES5Props causing Out of Stack Space error in IE 8

时间秒杀一切 提交于 2019-12-01 18:03:53
问题 Using 1.4.1 of BreezeJS we found that some new code added to Isolate ES5 Properties is causing IE 8 to have the following error: Error getting metadata: Metadata import failed for breeze/breeze/Metadata; Unable to process returned metadata:Object doesn't support property or method 'getPrototypeOf' We tried using both Uber Proto's getPrototypeOf (https://github.com/daffl/uberproto) and es5-sham (https://github.com/kriskowal/es5-shim) but both result with the same issue. We also tried removing

Deleting Entities and its Navigation Properties

て烟熏妆下的殇ゞ 提交于 2019-12-01 17:37:11
I have something like a Customer object with up to 50000 order in an ICollection<Orders> . Assume the Custome being in the local cache, the orders not. How can i delete the Cutomer and all of its related orders without loading all of the Customer orders into the cache and marking them with setDeleted() ? What is the best practice here. I assume extending the public SaveResult SaveChanges(JObject saveBundle) method is the best way. Any other possibilities here on the client side like a flag delete_all_navigation_too() ? Thanks Simplest approach that I can come up with is to create a cascade

Deleting Entities and its Navigation Properties

 ̄綄美尐妖づ 提交于 2019-12-01 16:40:32
问题 I have something like a Customer object with up to 50000 order in an ICollection<Orders> . Assume the Custome being in the local cache, the orders not. How can i delete the Cutomer and all of its related orders without loading all of the Customer orders into the cache and marking them with setDeleted() ? What is the best practice here. I assume extending the public SaveResult SaveChanges(JObject saveBundle) method is the best way. Any other possibilities here on the client side like a flag

MaxExpansionDepth with latest webapi and breeze

一个人想着一个人 提交于 2019-12-01 16:21:40
I have recently updated all of my nuget packages to the latest for EF6, breeze 1.4.5, system.web.http.odata 5.0.0.0, and all the other good bits available. Now, with one query that contains an expansion like x.y.z I get an error as follows: A first chance exception of type 'Microsoft.Data.OData.ODataException' occurred in System.Web.Http.OData.dll Additional information: The request includes a $expand path which is too deep. The maximum depth allowed is 2. To increase the limit, set the 'MaxExpansionDepth' property on QueryableAttribute or ODataValidationSettings. I looked into the suggested

Breeze executeQuery Q promise fails CORS

99封情书 提交于 2019-12-01 12:25:33
I'm having a problem with consuming OData Services using Breeze, I set up a Web API OData service by following this guide , from Fiddler it works excellent as expected, but when I try to use it with breeze it fails and gives an error message of "OK": [Q] Unhandled rejection reasons (should be empty):Error: OK Using fiddler I see it goes and queries for metadata and then it queries for the entities which are returned correctly, what could be the problem here? breeze.config.initializeAdapterInstances({ dataService: "OData" }); var manager = new breeze.EntityManager(serverAddress); var query =