Ronald Barendse
07/13/2023, 5:07 PMIPublishedContent
). If a generated model class adds that interface, you can do a simple if (Model is IPackageInterface packageModel) ...
or even change the view model to that interface... The only real downside is the requirement for users to extend the generated models, but that could be automated by generating that code.