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 17 posts 99 karma points
    1 week ago
    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 3810 posts 14133 karma points MVP 8x admin c-trib
    1 week ago
    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