How can we improve

RaisePropertyChanged in Client entities

I find impossible to use Breeze because my business model is based on shared entities.
In order to make Breeze work on the client, the entities have to inherit from BaseEntity.
Which is not a big problem since it can be done with partial classes.
The real issues are:
- It's impossible to reuse existing properties. In my scenario I'm using Fody.PropertyChanged to render all my auto-properties as INPCs. With Breeze, all getters have to call GetValue and setters SetValue.
- Had the BaseEntity exposed a RaisePropertyChanged method, and I could at least call SetValue on that method.

So my suggestion is:
- To allow bypassing calling GetValue and instead using the object's
getter directly
- Expose a protected virtual RaisePropertyChanged method, that is used as a proxy for raising the PropertyChanged event.

3 votes
Sign in
Sign in with: Facebook Google
Signed in as (Sign out)
You have left! (?) (thinking…)
Anonymous shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

1 comment

Sign in
Sign in with: Facebook Google
Signed in as (Sign out)

Feedback and Knowledge Base