Copied to clipboard

Flag this post as spam?

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


  • Louis Jackson-Rees 41 posts 167 karma points
    Oct 10, 2018 @ 13:32
    Louis Jackson-Rees
    0

    Ditto and Models Builder?

    Is it possible to use Ditto with Models Builder (in App_Data Mode) so my view s use the generated model by default and then having my view model, which is getting its data populated in the controller?

  • Lee Kelleher 3817 posts 14167 karma points MVP 8x admin c-trib
    Oct 10, 2018 @ 17:51
    Lee Kelleher
    100

    Hi Louis,

    The models generated by ModelsBuilder all inherit from IPublishedContent, so can be used with Ditto, no problem!

    Although, in my own experience, I've found that if I'm using ModelsBuilder, I generally haven't had a need for using Ditto as well ... unless if you are doing something very specific with your view-models? Then that's a good use-case.

    Cheers,
    - Lee

Please Sign in or register to post replies

Write your reply to:

Draft