Cinch v2 LOB app example

Jan 12, 2012 at 6:29 PM

Hi Sacha,

 

first thing I want to write is: THANK YOU for great framework(Cinch v2) and articles!

I would ask you: can you send me please little, quick example of LOB application with Cinch v2.

I want to see on example how can I share model with Back-End(DB, Data Access, Business logic) and Frond-End(WPF+Cinch v2 ) described here : http://www.codeproject.com/KB/WPF/CinchV2_4.aspx#ModelBases

Thank you very, very much for quick response.

Have a success on all your projects.

 

Martin

Jan 29, 2012 at 9:19 AM

To be honest I have kind of changed my mind on having rich models.

 

What I tend to do now is just have a VM that would use some DataAccess model in it, like CurrentOrder say, and expose just the properties that I wanted from that via the ViewModel. Then when properties change I would write those back to the DataAccess model.