开发者

Automatic CRUD forms generation for .net Windows Forms Applications

开发者 https://www.devze.com 2022-12-09 10:31 出处:网络
My question is about nHibernate, or any other ORM for .net that can do what I am looking for : for my web developements, I use Django Framework; the admin pages are automatically generated, so that yo

My question is about nHibernate, or any other ORM for .net that can do what I am looking for : for my web developements, I use Django Framework; the admin pages are automatically generated, so that you can do the CRUD operations through a GUI -- web interface -- right after having created your model.

I wonder if nHibernate (or any other ORM/framework) offers the same feature : generating very basic forms for the Create/Update/Delete operations on the tables of the model.

Note : t开发者_StackOverflowhe scope of my question is not ASP.net, but Windows Forms Applications using nHibernate or any ORM.


Go with Rocket Framework for windows form, though it does not generate forms automatically it has much more flexibility than auto-genearted code set..

  • It is developed using .Net 4.0
  • It is free
  • It not just support doing CRUD directly on tables but combining tables to create your business objects

Check it and see.. I think you gonna like it once you train to use it..


There are a couple of scaffolding tools for asp.net mvc but I don't think none of them can be compared with Grails scaffolding capabilities: http://www.grails.org/Scaffolding

http://sharparchitecture.net/ http://www.twinforms.com/products/mvcscaffold/index.php http://mvccrud.codeplex.com/


Subsonic has this feature for web apps, but I don't believe it has this feature for WinForms apps.

Subsonic is open source and based on T4 templates, so it's very possible that you could modify the Subsonic T4 templates that generate the WebForms scaffolding and have them generate WinForms scaffolding instead.


A long time ago I created a 'Simple reflection form' : http://blog.denouter.net/2008/08/simple-reflection-form.html Perhaps you can make it more suitable by reading the NHibernate mappings and then create the custom form.

0

精彩评论

暂无评论...
验证码 换一张
取 消