Questions tagged [breeze-sharp]

Breeze.Sharp is a .NET client 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 .NET client. Breeze.Sharp is a sister offering to the Breeze.Js library for Javascript rich clients. The API's are very similar and any web service built for one can talk to the other.

Breeze is a .NET client 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 .NET client. Breeze.sharp is a sister offering to the BreezeJs library for Javascript rich clients. The API's are very similar and any web service built for one can talk to the other.

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 using LINQ 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

  • [Facebook]
  • [Twitter]
  • [Google+]

Getting started

72 questions
34
votes
2 answers

Breeze Sharp - Expand not working with lambda expression

When I attempt to expand a navigation property via lambda like so: query = query.Expand(x => x.Dealers); My query fails with Inner Exception Inner Exception Message: The expression 'x => x.Dealers' is not a valid expression for navigation path.…
ProxyTech
  • 1,105
  • 8
  • 19
4
votes
2 answers

Breeze# for Xamarin.Forms (UWP, Droid & iOS)?

In their website, Xamarin appears as one of their clients, but I'm unable to install the package Breeze.Sharp, which is also tagged with Xamarin. It does install into the PCL project, but for it to work I need to install it into all of the platform…
Shimmy Weitzhandler
  • 101,809
  • 122
  • 424
  • 632
4
votes
0 answers

EntityAspect.Delete() doesn't delete entity from navigation set after import - Breeze.Sharp

We are developing a mobile cross-platform app that uses Breeze.Sharp import and export operations for persisting data when device is in a zone with no network coverage. When an entity is supposed to be deleted from the UI, we set…
ddasic
  • 41
  • 3
4
votes
1 answer

DevForce supporting Xamarin?

I came across this post on Ideablade´s forum: http://www.ideablade.com/forum/forum_posts.asp?TID=4635&KW=xamarin&PID=17331&title=devforce-2014#17331 I find this question interesting, but there is no response from Ideablade. Does Ideablade have any…
4
votes
2 answers

Breeze.Sharp - Need ability to specify UseDefaultCredentials in DataService's HttpClient construction

As of 0.5.4 check-in, the Breeze.Sharp/DataService.cs::InitializeHttpClient method creates an HttpClient with the default constructor. My intranet breeze web api service has a .Net console application, which needs to be authenticated by the service…
chrismon
  • 75
  • 7
3
votes
1 answer

Breeze C# client fails when using WHERE clause on iOS Device

I am using the C# client for Breeze 0.6 in a Xamarin.Forms 2.0 app on iOS 9.3. When I do a query with an WHERE clause, the app will work in the iPhone simulator, but fails on the actual device. The failure on the device is an exception with the…
Brian
  • 1,675
  • 3
  • 19
  • 29
3
votes
1 answer

A binary operator with incompatible types was detected. Found operand types edm.string and edm.guid for kind equal

I implementing a filter using breeze predicate. Using BreezeJs and ASP.NET WebAPI(Breeze Server Side) with Entity Framework The predicate looks like this: var predicate = breezeProvider.breeze.Predicate.create('serialNumber', '==',…
3
votes
0 answers

Breeze.Sharp: EntityManager cannot deal with concurrent ExecuteQuery calls

I'm using Breeze.Sharp within a thick client application with WebApi at the server side. There is an issue I am noticing when I make multiple calls of ExecuteQuery on EntityManager object. If the tasks returned by ExecuteQuery calls are not…
sethidev
  • 111
  • 5
2
votes
0 answers

Could not find method due to a type load error

I am building an app with Xamarin and Breez# use VS2017 for Mac, all goes fine till VS2017 notified me there are updates yesterday, then I updated it, also the package of Xamarin.forms from nugget. then my app cannot work. and throw an exception…
even
  • 315
  • 4
  • 11
2
votes
2 answers

BreezeSharp entity properties binding with Xamarin Forms Entry

We are developing mobile application using Xamarin Forms framework (only targeting Android for now). We structured our application to utilize MVVM pattern with help of MVVMLight toolkit. For data management we are using BreezeSharp (as we already…
2
votes
2 answers

breeze: why inheriting from Breeze.Sharp.BaseEntity?

We've started considering using BreezeSharp as we have a WebAPI ODATA Service that we'd like to re-use with a ASP.NET site (no javascript involved, just pure C#). Unfortunately, we just noticed that, according to the documentation, all of our model…
Sam
  • 13,934
  • 26
  • 108
  • 194
2
votes
2 answers

saving changes to breeze web api from c#

I want to create a c# application that will use the breeze web api to save change set to the server using the same SaveChanges(JObject saveBundle) action. How can I serialize and represent the changeset to be sent to the server. My primary…
1
vote
1 answer

How can I manually notify the Framework of property changes when using the Breeze.Sharp.BaseEntity class?

I have been using the Breeze.Sharp.BaseEntity base class at work for some time and up until now, have been ok with using their GetValue and SetValue properties for plugging into the INotifyPropertyChanged interface. However, occasionally, it is…
WPF guy
  • 167
  • 10
1
vote
0 answers

how to breeze custom error throw in asp.net

my project used breeze and successfully work but i have one issue in SaveResult Method, my requirement is this method custom error throw but not proper working .? http://breeze.github.io/doc-cs/server-side-validation.html [HttpPost] public…
1
vote
1 answer

How do I implement an EFContextProvider using BreezeJS for .net core?

I have been able to implement Breeze into an angular application using AspNetCore based on the Breeze Temphire sample and the breeze.server.net/AspNetCore/ github samples. I am stuck trying to figure out how to implement EFContextProvider in a Unit…
MrTouya
  • 656
  • 6
  • 19
1
2 3 4 5