I'm having a structure like
Animal
Usually I want to use each class separately but, for an example, on my main screen I want an table showing all animals + a search. Table:
Luna - Cat - 2 - - ...
Miranda - Dog - 10 - 09109009 - ...
...
How can I handle this kind of requirement?
Already tried: animalList -> results in empty list
Resolution by @Jeff Scott Brown (see comments): The model variable name is generated based on the type of the first element in the collection. If catList is working that means that the first element in the List is a Cat. You probably don't really want to rely on that because it won't work if the first element is ever anything other than a Cat.
To resolve this issue I stopped relying on dynamic scaffolding and created a table myself.