在vb.net和ADO.net中具有现成模板的最佳代码生成工具是什么? [英] What is the best code generation tool with ready template in vb.net and ADO.net

查看:99
本文介绍了在vb.net和ADO.net中具有现成模板的最佳代码生成工具是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好
我正在vb.net和ADO.net中寻找具有现成模板的代码生成工具.
我想使用此工具通过基本DAL以及现有数据库上的所有对象和页面来创建我的对象.
我将不胜感激
问候
sara

Hello
I am looking for a code generation tool with ready template in vb.net and ADO.net.
I want to use this tool to create my by basic DAL and all objects and pages on an existing database.
I will appreciate any advice
Regards
sara

推荐答案

这是一个开放式的问题.代码生成可以采用多种不同的形式,具体取决于要完成的工作量.对于简单的事情,T4模板通常就足够了.就您而言,我想您想要更多.以下是供您浏览的两个选项:

实体框架-EF将采用您现有的数据库并为您创建一个DAL,以处理所有管道.然后,您可以使用T4模板创建ASP.NET MVC页面来处理CRUD操作.

如果您正在寻找生成完整服务的代码,则可能需要尝试DevForce或IronSpeed.

DevForce- http://www.ideablade.com/products/devforce-features.aspx [ ^ ]
IronSpeed- http://www.ironspeed.com/products/Overview.aspx?c=AspAlliance [ ^ ]

我不确定这两种解决方案对VB.NET的支持,但是如果您走了这么远,实际上您根本不会做太多编码.
This is a fairly open-ended question. Code generation can take on a number of different forms depending on how much you want done. For simple things, T4 templates are usually good enough. In your case, I would assume you want more. Here are a couple of options for you to look through:

Entity Framework - EF will take your existing database and create a DAL for you that handles all of the plumbing. You can then use T4 templates to create ASP.NET MVC pages to handle the CRUD operations.

If you are looking for full-service code generation, you might want to try DevForce or IronSpeed.

DevForce - http://www.ideablade.com/products/devforce-features.aspx[^]
IronSpeed - http://www.ironspeed.com/products/Overview.aspx?c=AspAlliance[^]

I''m not sure about the VB.NET support on either of these solutions but really you won''t be doing much coding at all if you go this far.


这篇关于在vb.net和ADO.net中具有现成模板的最佳代码生成工具是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆