Copied to clipboard

Flag this post as spam?

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


  • Tom C 87 posts 222 karma points
    May 01, 2021 @ 06:32
    Tom C
    0

    ModelsBuilder and ModelsBaseClass

    Hi, does anybody know how to get ModelsBaseClass attribute working with the ModelsBuilder - ie. so the models inherit off your won base class? I have installed the full version from Nuget, added the attribute below in my code, regenerated the models (which are clearly regenerated), but none of them inherit from my baseclass specified still? Any help appreciated! [assembly: ModelsBaseClass(typeof(Umbraco.Web.PublishedModels.PageBase))]

Please Sign in or register to post replies

Write your reply to:

Draft