Hello. I will restate the previously asked question ( are there any means of automating the creation of CRUD operations in Windows Forms? ).

Are there any tools to automate the creation of CRUD operations in Windows Presentation Foundation? I would like something similar to the ASP.NET MVC tools. In other words, I would like, specifying the name of the entity or database table to get the implementation code for the graphical interface of operations CRUD?

Is it possible for a database consisting of awesome_number = 888.8 :-) tables, at least 2 forms should be drawn for each table to implement CRUD operations?

  • What are you trying to do? Database editor? So there are ready-made solutions that are clearly better than any crafts. - Monk
  • @Monk If not difficult, please name them - Vladimir Madorin
  • SQL Server Management Studio - Monk

1 answer 1

Not. Any database operations are model operations. UI controls should not be involved in modeling work, and should not be attached to the model.

If you need to show the user the raw contents of the tables, something is wrong with you. (Well, or you write a special program for editing tables, but this is a very special case.)

  • Thanks for the answer. Are there any frameworks similar to ASP.NET MVC in wf or wpf? For wf, there was now no supported User Interface Process Application Bloc. Is there anything relevant? - Vladimir Madorin
  • @ VladimirMadorin: There are some MVVM frameworks (for example, Prism and MVVM Light). That's what you need? - VladD
  • Thank. And, about whether this is what I need to figure out :-). I still have very little knowledge in this area - Vladimir Madorin