Breeze / temphire.angular

A comprehensive business application example with Angular and Breeze
MIT License
32 stars 19 forks source link

Understanding the Temphire #28

Open ganySA opened 4 years ago

ganySA commented 4 years ago

Hi

I am looking through the example to try and understand a few of the concepts being used: EntityManagerProvider 1) registerAnnotations: what does method do? - I have some annotations on my .net core entity objects and i was under the impression breeze automatically added these validations? 2) ignoreForSerialization - what is this method for?Is this to ignore additional fields that are added to the local model for serialization purposes?

I am trying to understand how the unit of work 'works': 1) It makes a copy of the primary entity manager 2) Then you make your changes to that manager (add/edit/delete) and save changes. 3) Is the original entity manager there simply there to provide a base with lookup tables for other 'units of work'?

Thanks.