Not sure if the code below should be considered a hack, but the easiest way of removing the AspNet
prefix is to iterate through the models.
|
|
Found the initial code in a 2014 asp net issue and since copy paste didn’t cut it, did a quick update of the method / property names.
This also allows you to replace it with whatever else you want, or add a generic table prefix.