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



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

posted on 2006-10-20 15:14  hello csharp  阅读(504)  评论(0编辑  收藏  举报

导航