There are a few solutions out there. I've not used it personally but Ditto looks pretty awesome and should help you with your problem. Details of how to use Ditto can be found within their Github repo.
You should have a look at the Models Builder. It can even generate the models for you with a Visual Studio extension. I also use it in the Hybrid Framework.
Mapping a view model to Content and back.
Hi everybody,
What is the ready solution for mapping the model to content and back.
I don't really like to write code using the SetValue() and GetValue().
I think there is a better solution.
Thanks!
Hi Vitaly,
There are a few solutions out there. I've not used it personally but Ditto looks pretty awesome and should help you with your problem. Details of how to use Ditto can be found within their Github repo.
I hope that helps.
Thanks, Dan.
Hi Dan,
Thanks for the reply.
I've seen it, but I realized that he was doing only one part of the job.
This library allows I to map a content to model, but not back.
Or am I wrong?
Also, I found the library of nuMapper, but was unable to find information, how to deal with it.
Thanks, Vitaly.
Hello,
You should have a look at the Models Builder. It can even generate the models for you with a Visual Studio extension. I also use it in the Hybrid Framework.
Jeroen
is working on a reply...