< configSections > < section name ="nhibernate" type ="System.Configuration.NameValueSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> </ configSections > < nhibernate > < add key ="hibernate.connection.provider" value ="NHibernate.Connection.DriverConnectionProvider" /> < add key ="hibernate.dialect" value ="NHibernate.Dialect.MsSql2000Dialect" /> < add key ="hibernate.connection.driver_class" value ="NHibernate.Driver.SqlClientDriver" /> < add key ="hibernate.connection.connection_string" value ="Server=localhost;Database=Northwind;uid=sa;pwd=" /> </ nhibernate > 转载于:https://www.cnblogs.com/yknb/archive/2006/06/22/432852.html