Intellisense for the NHibernate XML Schemas

  1. Download the NHibernate source and go to the “src\NHibernate“ directory
  2. Copy nhibernate-configuration-2.0.xsd, nhibernate-mapping-2.0.xsd, and nhibernate-generic.xsd to the Visual Studio “schemas“ directory.  By default, the schemas directory is “C:\Program Files\Microsoft Visual Studio 8\Xml\Schemas“.
  3. Restart Visual Studio

That's it.  No more hunting around and guessing what is valid NHibernate mapping or configuration xml syntax.
来自
http://blog.benday.com/archive/2006/01/15/3646.aspx

NHibernate Sample Code
spacer.gif


http://blogs.msdn.com/astebner/archive/2005/12/07/501466.aspx

转载于:https://www.cnblogs.com/wujun/archive/2006/10/20/534815.html

猜你喜欢

转载自blog.csdn.net/weixin_34414650/article/details/93235645