私はC#.Net Webサービスを持っています。私はデータベースにアクセスするためにnHibernateを使用しようとしています。私はまた、dbにアクセスするためにnHibernateを使用するC#.Net Webアプリケーションを持っています。ウェブアプリは素晴らしい作品です。ただし、Webサービスはサポートしていません。以下は私のエラーメッセージですWebサービスnHibernate設定の問題
The ProxyFactoryFactory was not configured.Initialize 'proxyfactory.factory_class' property of the session-factory configuration section with one of the available NHibernate.ByteCode providers.
Example:
<property name='proxyfactory.factory_class'>NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property>
Example:
<property name='proxyfactory.factory_class'>NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle</property>
アイデアはありますか?
どのバージョンのnhibernateを使用していますか? – Peter
バージョン2.1.0.1001 – MikeTWebb