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
0
votes
1 answer

CreateEntity failure with KeyProperties not defined

The Client is retrieving the metadata from a service. That call is succeeding. But the call entityManager.CreateEntity(); is failing. The error is: "There are no KeyProperties yet defined on EntityType: 'Customer:#MyCommerceServer.Models'. …
wonderful world
  • 10,969
  • 20
  • 97
  • 194
0
votes
1 answer

Transferring metadata from one EntityManager to another EntityManager

Currently I have a single WebAPI that returns the metadata for a number of client side apps. The client apps talk to different WebAPIs, not the one who provided the metadata. I don't like the idea of pre-generating the metadata, saving in a js file…
wonderful world
  • 10,969
  • 20
  • 97
  • 194
0
votes
1 answer

Breeze ContextProvider For EF6 build error

After I installed the ContextProvider for EF6 via nuget, I get the following build error. Assembly 'Breeze.ContextProvider, Version=1.4.0.0, Culture=neutral, PublicKeyToken=f6085f1a45e2ac59' uses 'Newtonsoft.Json, Version=6.0.0.0,…
wonderful world
  • 10,969
  • 20
  • 97
  • 194
0
votes
1 answer

Configuring Breeze web client to connect to remote breeze server with CORS support

We are envisioning a product that will have a web front end and mobile apps on multiple platforms (Xamarin). I've already turned a breeze angular hot towel example into a web front end. I am tasked with investigating splitting apart the breeze web…
DavidActualX
  • 55
  • 1
  • 5
0
votes
1 answer

Breeze# executeQuery returns empty objects

I have Breeze.Sharp application which communicates with legacy WebAPI which doesn't provide metadata. Query seems to be executed properly - expected number of objects is returned but all of them are empty. Modifying query parameters also works -…
0
votes
1 answer

Roundtrip in Breeze.Sharp ToDo sample project

I was able to install the Breeze.Sharp ToDo project. I noticed a behavior while adding a new todo item. When a new todo item is added, the server call SaveChanges is made by the client and the item is added successfully. The client again has to call…
wonderful world
  • 10,969
  • 20
  • 97
  • 194
0
votes
1 answer

ModelValidationException when models inherit from BaseEntity

I have some models classes that inherit from a single abstract class, which in turn is deriving from BaseEntity public abstract class Item: BaseEntity When I try create an Entity Data Model on my context I get the following…
Allan Smith
  • 162
  • 10
0
votes
1 answer

Does BreezeSharp support view pattern?

Does BreezeSharp support functionality like grouping, sorting, filtering, and navigating a data collection that CollectionView supports? The use case is similar to the following. A collection of employees for a parent company and it's child…
wonderful world
  • 10,969
  • 20
  • 97
  • 194
0
votes
1 answer

Should the Entity implement IEditableObject?

I have yet to fully understand the need to implement IEditableObject for an entity. I can only think about it's use when an entity has to revert the changes back to it's previous state, for example a Reset/Revert behavior on a dialog. Consider the…
wonderful world
  • 10,969
  • 20
  • 97
  • 194
0
votes
1 answer

Any obvious reason why my breeze entity child nodes won't expand?

I can't figure out why my child nodes are either null or have a count of 0, even though there's associated data in the db. Parent Class "Project" public partial class Project { public Project() public int Id { get; set; } public string…
Mastro
  • 1,477
  • 2
  • 22
  • 52
0
votes
2 answers

BreezeSharp - ExecuteQuery fails with NullReferenceException

I have been working with BreezeJS for a while, and I had grate experience with it. As I started developing mobile application in .NET, I decided to give BreezeSharp a try. I went through documentation and ToDo sample, and successfully created…
-2
votes
1 answer

Breeze Sharp i could not add my details to database.Its throwing FetchMetadata or by explicitly updating the KeyProperties

I have installed Breeze sharp package and i have created one sample windows application that has a model Customer. I have created the EntityManager for our API service and try to fetch the metadata to create my entities,but its throwing following…
1 2 3 4
5