ASP.NET MVC Scaffolding for any table

5

Does anyone know of a way I can automatically CRUD for my bank tables using MVC?

I have 5 tables and would like to automatically generate SinglePage apps for them, without having to generate multiple views/controllers . The idea is to create basic admin screens to manage these tables that are my internal control and do not need worked designs.

The idea is that if I create another table in the future I just need to select a combobox which one I want to manage and the values in the grid with the insert/update/delete buttons are already listed.

I have already researched some things but what I find still requires a considerable amount of work to do Scaffolding and creates several views/controller files.

    
asked by anonymous 19.12.2016 / 15:37

1 answer

3

Yes, using the Entity Framework Power Tools .

But there is a problem: this tool, besides being a Beta, was not updated for Visual Studio 2015.

So, this guy updated the tool for us . The link to it is here .

After installing VSIX, you need to get the .NET Framework back to version 4.5.1, otherwise it will not work.

Oncethisisdone,right-clickonyourprojectandselecttheEntityFramework>ReverseEngineerCodeFirst.

Choosetheserverandthenameofthedatabaseyouwantto

20.12.2016 / 05:24