After setting up my initial model class, I right-clicked on the Controllers folder and added an MVC Controller with views, using Entity Framework.
I realized that a lot of code got generated; e.g. the provided properties of my model class are used in the auto-generated code:
public async Task<IActionResult> Create([Bind("Birthday,ID,Username,EmailAddress")] PersonModel personModel )
as well as all the cshtml scripts for the newly-generated view; for instance Index, Create, Edit, Delete, Details, etc... which will define my database columns.
Does this mean if I change the code in the model class, I have to re-create the controller, or do I need to search for and effect the changes accordingly one by one, or is there a better way of doing this?