NHibernate 连接 Access数据库的配置文件
查了半天,终于查到了,记录下来。
<add key="hibernate.connection.provider"
value="NHibernate.Connection.DriverConnectionProvider" />
<add key="hibernate.connection.driver_class"
value="NHibernate.Driver.OleDbDriver" />
<add key="hibernate.connection.connection_string"
value="Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Data Source=D:\TestAccess.mdb" />
<add key="hibernate.dialect"
value="NHibernate.Dialect.MsAccess2000Dialect" />