Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Vitaly Vasilega 65 posts 187 karma points
    Mar 11, 2015 @ 06:13
    Vitaly Vasilega
    0

    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!

  • Dan Lister 416 posts 1974 karma points c-trib
    Mar 11, 2015 @ 09:34
    Dan Lister
    0

    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.

  • Vitaly Vasilega 65 posts 187 karma points
    Mar 11, 2015 @ 09:46
    Vitaly Vasilega
    0

    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.

     

     

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Mar 11, 2015 @ 12:05
    Jeroen Breuer
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft