Closed Jeavon closed 8 years ago
Interesting. In ModelsBuilder is enabled, but the factory is not... you are going to generate models that you will not use. The idea is that you are probably supplying your own factory of some sort, otherwise models would be entirely disabled. And so, we still generate views with the generated model.
I understand it can be discussed... ?
Yes, we want to use our own ViewModels and have our own Controllers convert the ModelBuilder generated "domain" models into our ViewModel whatever they may be. It's easy enough to change the View inheritance but with the ModelBuilder factory disabled I would not expect it to when creating a new view.....?
Make sense. No factory... no models in the template... full stop.
Thanks!
We have this in web.config
But still when creating a document type, the created View has inheritance like this:
I think it should not have the generated model?