Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Using ASP.NET Core and scaffolding changes the order of fields entered in the model

$
0
0

I've created an ASP.Net Core web application and am having a problem with scaffolding changing the order of fields in the model classes. I have several fields in some files and want them presented in the order I specified them in the model c#. They are being created alphabetically in the cshmtl scaffold files.  It's probably something simple but I can't seem to find it. It is only in ASP.Net Core and not in lower MVC.  Thanks in advance for any help.


Viewing all articles
Browse latest Browse all 9386


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>