mberry1989 / kontent-sample-app-conference-net

MIT License
0 stars 2 forks source link

Refactor models to use partial classes #35

Open kentico-michaelb opened 4 years ago

kentico-michaelb commented 4 years ago

Motivation

Per best practices, any customization of models should happen in partial classes (create wrapper properties for [DisplayFormat] etc.)

Proposed solution

Regenerate the models using the [Kontent .NET Model Generator (https://github.com/Kentico/kontent-generators-net) and the "-g" parameter.