Automatically generate NHibernate configuration files

xiaoxiao2021-03-06  106

We use NHibernate as an ermaPing solution in the project. Currently NHibernate released a version 0.300, you can see: nhibernate.sourceforge.net; NHIBERNATE currently does not have an automatic configuration generation tool, you have a generation of configuration files that are very annoying, Through research, a configuration generation tool is developed. NHibernateAttribute namespace references in their own projects, the control achieved: NHibernateClass, NHibernateID, NHibernateProperty, NHibernateOneToOne, NHibernateOneToMany, NHibernateManyToOne, NHibernateManyToMany and other custom attribute class, a class is automatically generated and configured according to a certain type, which can be Automatically generate profiles. The generated configuration file is as follows: If the NHibernateToone NHibernateManyToOne et al, it can also generate these definitions. If you need it, you can contact me by email: cai_dehui@haihuisoft.com.cn or QQ: 19646007

转载请注明原文地址:https://www.9cbs.com/read-103111.html

New Post(0)