无法将类型为“Finisar.SQLite.SQLiteConnection”的对象强制转换为类型“System.Data.Common.DbConnection”。

来源:互联网 发布:python mapreduce 编辑:程序博客网 时间:2024/04/28 22:42

<property name="connection.driver_class">NHibernate.Driver.SQLiteDriver</property>

改为

<property name="connection.driver_class">NHibernate.Driver.SQLite20Driver</property>

原创粉丝点击