Search code examples
breezebreeze-sharp

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 companies are retrieved. Based on the company name, the employees need to be filtered (and presented to the UI). Only one company and it's employees are shown at a time.

If Breeze does not support this, should I have my own CollectionView to handle this?


Solution

  • Not quite sure I understand the question. The .NET CollectionView class can certainly be used in conjunction with any collection of Breeze.sharp entities. In addition, all nonscalar breeze navigation properties are live lists, so you won't need to manage the membership of these lists.