Copied to clipboard

Flag this post as spam?

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


  • louisjrdev 107 posts 344 karma points c-trib
    Oct 10, 2018 @ 13:32
    louisjrdev
    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 4020 posts 15802 karma points MVP 13x 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