简体   繁体   English

用于NH.NET的NHibernate代码生成工具(C#)

[英]NHibernate code genaration tool for asp.net (c#)

Any idea of any tool I can use to generate asp.net (c#) scripts for NHibernate. 我可以使用任何工具为NHibernate生成asp.net(c#)脚本的想法。

I was told some come with unitTest Scripts as well. 有人告诉我一些也带有unitTest脚本。 I just need a good template to start a project using NHibernate with C# web application. 我只需要一个好的模板,即可将NHibernate与C#Web应用程序一起启动一个项目。

This a new territory for me 这对我来说是一个新领域

Cheers 干杯

LLBLGen Pro随附用于Fluent NHibernate的代码生成器。

我一直使用MyGeneration并从中获取NHibernate模板之一。

NhGen from SourceForge doesn't generate page templates, but it can read a database schema and generate all the required classes, mappings, NHibernate session wrappers and it does include some unit tests. SourceForge的NhGen不会生成页面模板,但是它可以读取数据库架构并生成所有必需的类,映射,NHibernate会话包装器,并且确实包含一些单元测试。 The app also come with the assembies from NHibernate.Burrows which wraps up the transactions. 该应用程序还附带了NHibernate.Burrows的组件,用于包装事务。 That might help. 这可能有所帮助。

This is what you need 这就是你需要的

http://tekpub.com/production/nhibernate http://tekpub.com/production/nhibernate

Money well spent! 钱花得好!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM