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?
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.
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?
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
is working on a reply...