castleproject-1.0-rc2.msi(下载安装就好!).
二.修改Web.Config的配置
Web.Config里需在节点<configSections>下添加配置
<section name="activerecord"
type="Castle.ActiveRecord.Framework.Config.ActiveRecordSectionHandler, Castle.ActiveRecord" />
上面添加了<section>节点activerecord,接着配置activerecord的具体属性值
<activerecord>
<config>
<add key="hibernate.connection.driver_class"
value="NHibernate.Driver.SqlClientDriver" />
<add key="hibernate.dialect"
value="NHibernate.Dialect.MsSql2000Dialect" />
<add key="hibernate.connection.provider"
value="NHibernate.Connection.DriverConnectionProvider" />
<add key="hibernate.connection.connection_string"
value="Data Source=.;Initial Catalog=test;Integrated Security=SSPI" />
</config>
</activerecord>
该文章我在博客园发表过,详细请大家查看下面连接
http://www.cnblogs.com/beniao/archive/2007/11/18/963392.html